v1

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

Adds a question for the specified location.

post/v1/{+parent}

Path parameters

parentstring required

Required. The name of the location to write a question for.

Request body

totalAnswerCountinteger

Output only. The total number of answers posted for this question.

upvoteCountinteger

Output only. The number of upvotes for the question.

namestring

Immutable. The unique name for the question. locations//questions/ This field will be ignored if set during question creation.

createTimestring google-datetime

Output only. The timestamp for when the question was written.

textstring

Required. The text of the question. It should contain at least three words and the total length should be greater than or equal to 10 characters. The maximum length is 4096 characters.

updateTimestring google-datetime

Output only. The timestamp for when the question was last modified.

Response

Successful response