cURL
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>" }
Check if a base-ref bundle exists (for deduplication by SHA).
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request to check if a base-ref bundle exists.
Successful Response
Response indicating if base-ref bundle exists.