Skip to Content
Xeonr Developer Docs
UplApiUploads

Set upload metadata entry

POST
/uplim.api.v1.BucketUploadsService/SetUploadMetadata

Upserts a metadata entry on an upload. Key must resolve to a known registration (common:* or the caller's integration slug).

Required scopes: upl:bucket:manage

Authorization

OAuth2 upl:uploads:manage
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:uploads:manage

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?|&|
uploadRef?|&|
entry?
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketUploadsService/SetUploadMetadata" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "entry": "map[hiddenFromUsers:false iconName:faCircleCheck key:invoice-parser:status title:Status value:map[stringValue:paid] valueType:METADATA_VALUE_TYPE_STRING]"
}