Branches

List the branches the caller may see:

  • Branches they created that don't have changes
  • Branches with a model change on a model they can use branches on
  • Branches with a draft they can edit in a branch
  • Branches open to viewers that have a layer on a model the caller can read
get/v1/branches

Request

  • Base URL
    https://blobsrus.omniapp.co/api
  • URL
    https://blobsrus.omniapp.co/api/v1/branches
  • Auth
    HTTP bearer

Query parameters

cursorstring
Example:eyJpZCI6IjEyMzQ1In0

Cursor for pagination from previous response nextCursor.

pageSizeinteger
Example:20

Number of results per page

sortField'updatedAt' | 'createdAt' | 'name'

Field to sort by.

sortDirection'asc' | 'desc'

Direction for sorting results:

  • asc - Ascending order (A-Z, 0-9)
  • desc - Descending order (Z-A, 9-0)
userIdstring uuid

Organization API key required. The membership ID of the user to act as.

Response

One page of the branches the caller may see, most recently updated first by default.

Changes