Xeonr Developer Docs
API SpecificationUploads

Get upload metadata

POST
/uplim.api.v1.BucketUploadsService/GetUploadMetadata

Retrieves detailed technical metadata for an upload including dimensions, duration, codec info, and EXIF data.

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?|

Reference to the bucket

uploadRef?|

Reference to the upload (by ID or path)

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketUploadsService/GetUploadMetadata" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "metadata": {
    "archive": {
      "totalFiles": 0,
      "uncompressedSizeBytes": 0,
      "compressedSizeBytes": 0,
      "directories": [
        {
          "path": "string",
          "directories": [
            {
              "path": "string",
              "directories": [],
              "files": [
                {
                  "filename": "string",
                  "uncompressedSizeBytes": 0,
                  "compressedSizeBytes": 0
                }
              ]
            }
          ],
          "files": [
            {
              "filename": "string",
              "uncompressedSizeBytes": 0,
              "compressedSizeBytes": 0
            }
          ]
        }
      ]
    }
  }
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}