AdnovaDocs
Creative Hub

Sign multipart parts

Mint pre-signed PUT URLs for one or more part numbers of an in-progress multipart upload. You can ask for every part in one call — there is no need to sign one at a time. Returns one pre-signed PUT URL per part number. Each URL is signed for that part's exact Content-Length — 10 MB (10485760 bytes) for full parts, the remainder for the last part — so the bytes you PUT must match. Step 2 of 5 in the multipart flow — see Multipart file upload for the full sequence.

POST
/files/multipart/{fileId}/parts/sign

Authentication

authentication
api-key<token>

Create an API key from the Adnova dashboard (Account integrations). Pass the key value in the api-key request header on every call.

In: header

Path Parameters

fileId*string
Length1 <= length

Header Parameters

x-workspace-id*string

Workspace the request operates in. Get it from List workspaces.

Length1 <= length
x-org-id*string

Organization context (required on every endpoint).

Length1 <= length

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://api.adnova.ai/creative-hub/v1/files/multipart/01J8ZF9K8M7N6P5R4S3T2V1W0X/parts/sign" \  -H "x-workspace-id: 01J8ZQ9X2K3M4N5P6R7S8T9V0W" \  -H "x-org-id: 01J8ZQ7B3C4D5F6G7H8K9M0N1P" \  -H "Content-Type: application/json" \  -d '{    "uploadId": "VXBsb2FkSWQ-...",    "partNumbers": [      1,      2,      3,      4    ]  }'
{
  "parts": [
    {
      "partNumber": 1,
      "signedUrl": "https://s3.amazonaws.com/...&partNumber=1&uploadId=..."
    }
  ]
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}
{
  "error": {
    "code": "string",
    "message": "string"
  },
  "message": "string"
}