node-zendesk • Docs
node-zendesk / clients/helpcenter/articles / Article
Type Alias: Article
Article:
object
Articles are content items such as help topics or tech notes contained in sections
Type declaration
author_id?
optionalauthor_id:number
- The id of the user who wrote the article (set to the user who made the request on create by default)
body?
optionalbody:string
- HTML body of the article. Unsafe tags and attributes may be removed before display
comments_disabled?
optionalcomments_disabled:boolean
- True if comments are disabled; false otherwise
content_tag_ids?
optionalcontent_tag_ids:any[]
- The list of content tags attached to the article
created_at?
optionalcreated_at:string
- The time the article was created (read-only)
draft?
optionaldraft:boolean
- True if the translation for the current locale is a draft; false otherwise (read-only, can only be set when creating)
edited_at?
optionaledited_at:string
- The time the article was last edited in its displayed locale (read-only)
html_url?
optionalhtml_url:string
- The url of the article in Help Center (read-only)
id?
optionalid:number
- Automatically assigned when the article is created (read-only)
label_names?
optionallabel_names:any[]
- An array of label names associated with this article
locale
locale:
string
- The locale that the article is being displayed in (required)
outdated?
optionaloutdated:boolean
- Deprecated. Always false because the source translation is always the most up-to-date translation (read-only)
outdated_locales?
optionaloutdated_locales:any[]
- Locales in which the article was marked as outdated (read-only)
permission_group_id
permission_group_id:
number
- The id of the permission group which defines who can edit and publish this article (required)
position?
optionalposition:number
- The position of this article in the article list. 0 by default
promoted?
optionalpromoted:boolean
- True if this article is promoted; false otherwise. false by default
section_id?
optionalsection_id:number
- The id of the section to which this article belongs
source_locale?
optionalsource_locale:string
- The source (default) locale of the article (read-only)
title
title:
string
- The title of the article (required)
updated_at?
optionalupdated_at:string
- The time the article was last updated (read-only)
url?
optionalurl:string
- The API url of the article (read-only)
user_segment_id?
optionaluser_segment_id:number
- The id of the user segment which defines who can see this article
user_segment_ids?
optionaluser_segment_ids:any[]
- List of user segment ids which define who can view this article
vote_count?
optionalvote_count:number
- The total number of upvotes and downvotes (read-only)
vote_sum?
optionalvote_sum:number
- The sum of upvotes (+1) and downvotes (-1), which may be positive or negative (read-only)
Defined in
clients/helpcenter/articles.d.ts:4