Xeonr Developer Docs
API SpecificationUploads

Get history content URL

POST
/uplim.api.v1.BucketUploadsService/GetUploadHistoryContent

Gets a signed download URL for a historical version of an upload.

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

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

bucketRef?|
historyId?string
Formatuuid
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketUploadsService/GetUploadHistoryContent" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "contentUrl": "string",
  "history": {
    "historyId": "string",
    "uploadId": "string",
    "version": 0,
    "filename": "string",
    "sizeBytes": 0,
    "type": "UPLOAD_TYPE_UNSPECIFIED",
    "replacedAt": "2023-01-15T01:30:15.01Z",
    "metaUploads": [
      {
        "type": {
          "type": "MetaUploadType_UNSPECIFIED",
          "n": 0,
          "filename": "string"
        },
        "metadataId": "string",
        "uploadUrl": "string",
        "downloadUrl": "string"
      }
    ]
  }
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}