v1

latestOpenAPI 3.0.32026-07-177413.0 KB
TodoService

WatchTodos opens a server-side stream that emits a TodoEvent for every create, update, or delete that matches the supplied filter and ordering. The stream remains open until the client cancels or the server terminates it.

get/v1/todos/watch

Query parameters

pageSizeinteger

Optional. Maximum number of todo items returned in the initial snapshot before live events begin streaming.

pageTokenstring

Optional. Page token used to resume from a prior snapshot.

filterstring

Optional. List filter expression. Same syntax as ListTodosRequest.filter.

orderBystring

Optional. Order specification. Same syntax as ListTodosRequest.order_by.

Response

OK

actionstring

The change that occurred. One of created, updated, or deleted.

eventTimestring date-time

Time at which the change was observed by the server.