Search documentation
karat

+

K

User Documentation ↗
Version 2.0

Get Media Item Rid By Path

GET/api/v2/mediasets/{mediaSetRid}/items/getRidByPath
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.

Returns the media item RID for the media item with the specified path.

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

Path parameters

mediaSetRid
string

The RID of the media set.

Query parameters

mediaItemPath
string

The path of the media item.

branchName
string
optional

Specifies the specific branch by name in which to search for this media item. May not be provided if branch rid or view rid are provided.

branchRid
string
optional

Specifies the specific branch by rid in which to search for this media item. May not be provided if branch name or view rid are provided.

viewRid
string
optional

Specifies the specific view by rid in which to search for this media item. May not be provided if branch name or branch rid are provided.

preview
boolean
optional

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

Response body

GetMediaItemRidByPathResponse
object
Hide child attributes

Hide child attributes

mediaItemRid
string
optional

The Resource Identifier (RID) of an individual Media Item within a Media Set in Foundry.

Examples

Request

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