v1

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

Updates a specific question written by the current user.

patch/v1/{+name}

Path parameters

namestring required

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

Query parameters

updateMaskstring

Required. The specific fields to update. Only question text can be updated.

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