Type article

Discussion

This type represents an article.

Fields

article_id
integer, refers to an article

article_type
string

body
string
unchanged in unsafe filters

body_markdown
string

comment_count
integer

comments
an array of comments
may be absent

creation_date

last_activity_date

last_edit_date

last_editor

link
string
unchanged in unsafe filters

score
integer

tags
an array of strings

title
string

view_count
integer

Fields marked with are included in the default filter, those marked with are excluded in the default filter.

Examples

Typical Article

{"tags":["windows","c#",".net"],"owner":{"reputation":9001,"user_id":1,"user_type":"registered","accept_rate":55,"profile_image":"https://www.gravatar.com/avatar/a007be5a61f6aa8f3e85ae2fc18dd66e?d=identicon&r=PG","display_name":"Example User","link":"https://example.stackexchange.com/users/1/example-user"},"view_count":31415,"score":1,"last_activity_date":1734755808,"creation_date":1734712608,"last_edit_date":1734781008,"article_id":1234,"article_type":"announcement","link":"https://example.stackexchange.com/articles/1234/an-example-post-title","title":"An example post title","body":"An example post body"}

Methods That Return This Type