TodoService

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.

post/v1/todos/sync

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

Changed in 3 of the 6 revisions of this API.147

  • bbd5b533991046See the full diff
    • removed the request property /////

      request-property-removed

    • removed the request property /////

      request-property-removed

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

      response-optional-property-removed

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

      response-optional-property-removed

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

    • added the new optional request property /////

      new-optional-request-property

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

      response-optional-property-added

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

      response-optional-property-added

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

      response-optional-property-added

    • endpoint added

      endpoint-added

    This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog

    • api path removed without deprecation

      api-path-removed-without-deprecation

    This revision also has 4 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog