TodoService

POST /v1/todos/sync

Changed on

SyncTodos opens a bidirectional stream for two-way synchronization. The client sends SyncTodoRequest messages describing local changes, and the server pushes back TodoEvent messages reflecting the resulting state. The stream stays open until either side closes it.

Request

Request body

actionstring

The operation to perform. One of create, update, or delete.

idstring

Identifier of the target todo. Required for delete and update.

updateMaskstring field-mask

Field mask used by update actions to limit which fields are overwritten. Ignored for create and delete.

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.

Changes

    • warning

      removed the request property /////

    • warning

      removed the request property /////

    • warning

      removed the optional property ///// from the response with the status

    • warning

      removed the optional property ///// from the response with the status

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the new optional request property /////

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      added the optional property ///// to the response with the status

    • info

      endpoint added