Movatterモバイル変換


[0]ホーム

URL:


Type post

Discussion

This type represents the intersection of theQuestion andAnswer types.

It's used in cases where it would be beneficial to mix questions and answers in a response.

The upvoted and downvoted fields can only be queried for with anaccess_token with the private_info scope.

Fields

body
string
unchanged inunsafe filters

body_markdown2.2
string

collectives2.3

comment_count2.2
integer

comments

content_license2.2
string

creation_date

down_vote_count
integer

downvoted2.2
booleanprivate_info

last_activity_date

last_edit_date

last_editor2.2

link2.1
string

owner

post_id
integer, refers to apost

post_type
one ofquestion,answer, orarticle

posted_by_collectives2.3

score
integer

share_link2.2
string
unchanged inunsafe filters

title2.2
string

up_vote_count
integer

upvoted2.2
booleanprivate_info

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

Examples

Question

{"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":"http://example.stackexchange.com/users/1/example-user"},"down_vote_count":2,"up_vote_count":7,"score":5,"last_edit_date":1764375020,"last_activity_date":1764396620,"creation_date":1764331820,"post_type":"question","post_id":1,"body":"question body"}

Answer

{"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":"http://example.stackexchange.com/users/1/example-user"},"down_vote_count":2,"up_vote_count":7,"score":5,"last_edit_date":1764375020,"last_activity_date":1764396620,"creation_date":1764331820,"post_type":"answer","post_id":1,"body":"answer body"}

Methods That Return This Type

posts
posts/{ids}
users/{ids}/posts2.2
me/posts2.2
Navigation

aboutblogterms of usecontact usfeedback always welcome

site design / logo © 2025 Stack Exchange, Inc; user contributions licensed underCC BY-SA



[8]ページ先頭

©2009-2025 Movatter.jp