v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-137714.9 KB
locations

Returns the paginated list of answers for a specified question.

get/v1/{+parent}/answers

Path parameters

parentstring required

Required. The name of the question to fetch answers for.

Query parameters

orderBystring

Optional. The order to return the answers. Valid options include 'update_time desc' and 'upvote_count desc', which will return the answers sorted descendingly by the requested field. The default sort order is 'update_time desc'.

pageSizeinteger

Optional. How many answers to fetch per page. The default and maximum page_size values are 10.

pageTokenstring

Optional. If specified, the next page of answers is retrieved.

Response

Successful response