Skip to main content

Add collection​

Create a new collection under user's account.

Query Parameters
    lastMutationAt float required

    The timestamp of the last mutation that was applied on the server. Required for any data modification operation to ensure concurrency control.

Request Body
    name string required

    The name of the new collection to be created.

Responses

Request has been handled successfully.

Response Headers
  • X-Mutation-At string

    Unix timestamp (milliseconds) of the latest mutation for the user. Clients should store this value and include it in subsequent mutation requests for optimistic concurrency control.


Schema
    success boolean
    data object
    id string required
    updatedAt date-time required
    name string required
Loading...