Search documentation
karat

+

K

User Documentation ↗

Commit Media Transaction

POST/api/v2/mediasets/{mediaSetRid}/transactions/{transactionId}/commit
Warning

This endpoint is in preview and may be modified or removed at any time. To use this endpoint, add preview=true to the request query parameters.

Commits an open transaction. On success, items uploaded to the media set during this transaction will become available.

Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:mediasets-write.

Path parameters

mediaSetRid
string

The Resource Identifier (RID) of a Media Set in Foundry.

transactionId
string

An identifier which represents a transaction on a media set.

Query parameters

preview
boolean
optional

A boolean flag that, when set to true, enables the use of beta features in preview mode.

Examples

Request

Copied!
1 2 3 curl -X POST \ -H "Authorization: Bearer $TOKEN" \ "https://$HOSTNAME/api/v2/mediasets/{mediaSetRid}/transactions/{transactionId}/commit?preview=true"