CARVIEW |
Select Language
HTTP/2 200
date: Fri, 25 Jul 2025 17:52:36 GMT
content-type: text/html; charset=utf-8
cache-control: private
set-cookie: prov=832b5286-66fb-44bb-aafa-8c238262b108; expires=Sat, 25 Jul 2026 17:52:36 GMT; domain=.stackexchange.com; path=/; secure; httponly
x-clacks-overhead: GNU Terry Pratchett
strict-transport-security: max-age=31536000; includeSubDomains
x-request-guid: 975155fb-8bc9-4d6b-acb9-3415b17a81f0
x-providence-cookie: 832b5286-66fb-44bb-aafa-8c238262b108
content-security-policy: upgrade-insecure-requests; frame-ancestors 'self' https://stackexchange.com
cf-cache-status: DYNAMIC
set-cookie: __cf_bm=ZRc_KxvZPJp5Z8VKibEvZ1vc0JQIV3RXVE3JfLz4cBg-1753465956-1.0.1.1-lJ8zhQ6C7J0JvAX4yWyiAlG8Vnsim5IXl7gfTMu5biPZYLQUzn7pJDmOyK4KTJMaIC1npaA15xUVGq9CP4geuqV5YkozOm7OxVbWjIv3yUw; path=/; expires=Fri, 25-Jul-25 18:22:36 GMT; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
set-cookie: __cflb=02DiuEqtkS4jGaTk6jRLVowZ76Z4qeo49XEJD8wwPco9e; SameSite=None; Secure; path=/; expires=Sat, 26-Jul-25 16:52:36 GMT; HttpOnly
set-cookie: _cfuvid=2WsQTcfBo2KdHOW8yRRmIW076op_5j2TI_zFDITdDK4-1753465956643-0.0.1.1-604800000; path=/; domain=.api.stackexchange.com; HttpOnly; Secure; SameSite=None
server: cloudflare
cf-ray: 964d83129d43b22e-BLR
content-encoding: gzip
post -
Stack Exchange API
Type post
Discussion
This type represents the intersection of the Question and Answer 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 an access_token with the private_info scope.
Fields
body_markdown 2.2
string
comment_count 2.2
integer
content_license 2.2
string
down_vote_count
integer
downvoted 2.2
boolean
private_info
link 2.1
string
post_type
one of
question
, answer
, or article
score
integer
title 2.2
string
up_vote_count
integer
upvoted 2.2
boolean
private_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":"https://example.stackexchange.com/users/1/example-user"},"down_vote_count":2,"up_vote_count":7,"score":5,"last_edit_date":1753422756,"last_activity_date":1753444356,"creation_date":1753379556,"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":"https://example.stackexchange.com/users/1/example-user"},"down_vote_count":2,"up_vote_count":7,"score":5,"last_edit_date":1753422756,"last_activity_date":1753444356,"creation_date":1753379556,"post_type":"answer","post_id":1,"body":"answer body"}
Methods That Return This Type
about blog terms of use contact us feedback always welcome
site design / logo © 2025 Stack Exchange, Inc; user contributions licensed under CC BY-SA