v1

latestOpenAPI 3.0.32026-07-177413.0 KB
TodoService

UpdateTodo applies a partial update to an existing todo item using a FieldMask. Only the fields listed in update_mask are overwritten; all other fields are left unchanged. Returns NOT_FOUND if the target todo does not exist, or INVALID_ARGUMENT if update_mask references unknown fields.

put/v1/todos/update

Query parameters

updateMaskstring field-mask

Set of field paths in todo to overwrite. Fields not listed are left unchanged. Use a single path of * to replace every mutable field.

Request body

idstring

Server-assigned unique identifier. Read-only on create.

titlestring

Short human-readable title.

contentstring

Detailed description or notes for the todo item.

completedboolean

Whether the todo item has been completed.

createTimestring date-time

Time at which the todo item was created. Server-assigned, read-only.

updateTimestring date-time

Time at which the todo item was last modified. Server-assigned, read-only.

Response

OK

idstring

Server-assigned unique identifier. Read-only on create.

titlestring

Short human-readable title.

contentstring

Detailed description or notes for the todo item.

completedboolean

Whether the todo item has been completed.

createTimestring date-time

Time at which the todo item was created. Server-assigned, read-only.

updateTimestring date-time

Time at which the todo item was last modified. Server-assigned, read-only.