workspaces

Get Sync Upload Url

Generate a presigned URL for uploading a sync bundle.

Bundle types:

  • base_ref: Full bundle of base branch (keyed by SHA)
  • head_ref: Incremental from base to HEAD (keyed by SHA)
  • checkpoint: Incremental from HEAD to checkpoint (keyed by ID)
post/api/v1/workspaces/{workspace_id}/sync/upload-url

Request

  • Base URL
    https://docs.omnara.com (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Path parameters

workspace_id, string required

Request body

SyncUploadUrlRequest required

Request for a presigned upload URL (legacy).

bundle_type, 'base_ref' | 'head_ref' | 'checkpoint' required
sha, string nullable
checkpoint_id, string nullable

Response

Successful Response

SyncUploadUrlResponse required

Response containing presigned upload URL (legacy).

upload_url, string required
expires_at, string date-time required
storage_key, string required

Changes

No recorded changes to this operation across all 1 revision of this API.