Attach an external reference to a media
POST/api/v1/library/media/:id/references
Attaches a DMRN from your system to the media, so GET /api/v1/library/media?reference=... finds it. Repeating the request is idempotent. A media may carry several DMRNs, but a DMRN identifies one object only.
Request
Responses
- 200
- 201
- 400
- 401
- 402
- 403
- 404
- 409
- 429
- 500
The reference was already attached to this media.
The reference was attached.
The request body or a query parameter is malformed.
Missing or invalid bearer token.
Your organisation's plan does not include the library. API (plan_required). It is part of the Enterprise plan and the Public API option.
The token lacks the required permission.
No media with that id.
The DMRN already identifies another object (external_reference_conflict).
Rate limit exceeded. Retry after the period in the Retry-After header.
Unexpected server error.