Xeonr Developer Docs
UplApiUploads

Get download URLs

POST
/uplim.api.v1.BucketUploadsService/GetUploadDownloadUrl

Gets signed download URLs for one or more uploads, including thumbnail and content URLs.

Authorization

OAuth2 upl:bucket:read
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:bucket:read

Header Parameters

Connect-Protocol-Version?number

Define the version of the Connect protocol

Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketRef?&
uploadId?upload_id

Upload IDs to sign URLs for. Unknown or inaccessible IDs are omitted from the result rather than erroring. No count limit: the CLI sends a whole download set in one call.

expiresIn?integer|null

How long the signed content URLs live, in seconds. Unset or zero means 15 minutes. Anything above seven days (604800, the SigV4 ceiling) is clamped to seven days rather than refused; Data.expires_at says what was actually signed. validate:skip clamped server-side to the seven-day cap, never rejected

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketUploadsService/GetUploadDownloadUrl" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "results": {
    "property1": {
      "thumbnailUrl": "string",
      "contentUrl": "string",
      "expiresAt": "2023-01-15T01:30:15.01Z"
    },
    "property2": {
      "thumbnailUrl": "string",
      "contentUrl": "string",
      "expiresAt": "2023-01-15T01:30:15.01Z"
    }
  }
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}