Skip to navigation

Generate upload part URLs

Returns presigned PUT URLs for parts of a multipart upload session, a bounded batch per request.

When to use it

Only for a session whose create answered upload.method: MULTIPART. That happens when you sent supportsResumable: true and the file is at or above the deployment’s multipart threshold.

Uploading the parts

  • Name the parts you want by number in partNumbers. The storage key and the provider’s upload id never leave EVVA.
  • PUT each part to its URL with no extra headers. Every part except the last must be exactly partSizeBytes.
  • To retry a part, sign it again and re-send it. At finalize, only the storage provider’s record of the parts that arrived counts. You never report ETags.

Errors

  • 400 MEDIA_UPLOAD_PART_OUT_OF_RANGE — a part number is outside 1 to partCount.
  • 400 MEDIA_UPLOAD_TOO_MANY_PARTS — the request names more parts than one batch allows.
  • 409 MEDIA_UPLOAD_NOT_RESUMABLE — a one-part session: its single URL is never signed again.
  • 409 MEDIA_UPLOAD_SESSION_EXPIRED — the session expired.
  • 409 MEDIA_UPLOAD_SESSION_NOT_PENDING — the session is no longer pending.

Required scopes: write:media.

Authentication

AuthorizationBearer

OAuth 2.0 client credentials. Request an access token at POST /partner/v1/oauth/token (grant_type=client_credentials) with the application’s client secret or a private_key_jwt assertion, then send it as Authorization: Bearer evpa_live_… (or evpa_test_… for a sandbox application). Tokens are opaque and short lived (see expires_in); there is no refresh token. Each operation lists the scopes it requires.

Required scopes:write:media

Path parameters

creatorIdstringRequired>=1 character

The creator profile id — the ONLY source of the creator a request acts for.

uploadSessionIdstringRequired>=1 character

Headers

X-Creator-IdstringOptional

Optional echo of the path creatorId; any other value is refused with 403 CREATOR_CONTEXT_MISMATCH.

Request

This endpoint expects an object.
partNumberslist of integersRequired

Response

Part URLs, each valid for expiresInSec.

partslist of objects

Errors

400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
404
Not Found Error
409
Conflict Error
429
Too Many Requests Error
500
Internal Server Error
503
Service Unavailable Error