Skip to Content
Xeonr Developer Docs
UplApiUploads

Request signed upload

POST
/uplim.api.v1.BucketUploadsService/RequestSignedUpload

Requests a presigned upload URL using a signed upload intent token. Authorization is via the signed intent token, not OAuth scopes.

Authorization

AuthorizationBearer <token>

JWT access token obtained via OAuth2 flow or service account

In: header

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

signedIntentToken?string

Token from CreateSignedUploadIntentResponse.signed_intent_token

Length1 <= length <= 4096
filesizeBytes?string

validate:skip no bound the server enforces; checked only against the intent's max_filesize_bytes

Formatint64
mimeType?string
Lengthlength <= 1024
extension?string
Lengthlength <= 1024
multipart?boolean

validate:skip a bool has no bounds

[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.BucketUploadsService/RequestSignedUpload" \  -H "Connect-Protocol-Version: 1" \  -H "Connect-Timeout-Ms: 1000" \  -H "Content-Type: application/json" \  -d '{}'
{
  "uploadId": "c4e2a9f1-7b3d-4a65-8e0f-1d9b6c3a2e57",
  "direct": "map[uploadUrl:https://storage.upl.im/uploads/c4/e2/a9/f1/c4e2a9f1-7b3d-4a65-8e0f-1d9b6c3a2e57.png?X-Amz-Algorithm=AWS4-HMAC-SHA256&X-Amz-Expires=3600&X-Amz-Signature=b27e…]"
}