Skip to main content
POST
/
api
/
v1
/
workspaces
/
{workspace_id}
/
sync
/
base-ref-exists
Check Base Ref Bundle Exists
curl --request POST \
  --url https://api.example.com/api/v1/workspaces/{workspace_id}/sync/base-ref-exists \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "sha": "<string>"
}
'
{
  "exists": true,
  "storage_key": "<string>"
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

workspace_id
string
required

Body

application/json

Request to check if a base-ref bundle exists.

sha
string
required

Response

Successful Response

Response indicating if base-ref bundle exists.

exists
boolean
required
storage_key
string
required