Skip to navigation

Reorder a content item's attachments

Sets the complete display order of a content item’s attachments in one atomic write.

Send the whole permutation of what is attached in mediaAssetIds, so a replay is idempotent.

Errors

  • 409 MEDIA_ATTACHMENT_SET_MISMATCH — the list is stale or partial. details.attached holds the set actually attached, and nothing is written.

Required scopes: write:content.

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:content

Path parameters

creatorIdstringRequired>=1 character

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

contentIdstringRequired>=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.
mediaAssetIdslist of stringsRequired

Response

The new order.
itemslist 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