cURL
curl --request POST \ --url https://api.example.com/api/v1/workspaces/{workspace_id}/sync/download-url \ --header 'Authorization: Bearer <token>' \ --header 'Content-Type: application/json' \ --data ' { "bundle_type": "base_ref", "sha": "<string>", "checkpoint_id": "<string>" } '
{ "download_url": "<string>", "expires_at": "2023-11-07T05:31:56Z", "exists": true }
Generate a presigned URL for downloading a sync bundle.
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Request for a presigned download URL.
base_ref
head_ref
checkpoint
Successful Response
Response containing presigned download URL.