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.
Gets detailed metadata about the media item, including type-specific information such as dimensions for images, duration for audio/video, page count for documents, etc.
Third-party applications using this endpoint via OAuth2 must request the following operation scope: api:mediasets-read.
stringThe RID of the media set.
stringThe RID of the media item.
booleanA boolean flag that, when set to true, enables the use of beta features in preview mode.
unionDetailed metadata about a media item, including type-specific information such as dimensions for images, duration for audio/video, page count for documents, etc.
objectMetadata for document media items.
objectMetadata for imagery (image) media items.
objectMetadata for spreadsheet media items.
objectMetadata for untyped media items (media items without a recognized type).
objectMetadata for audio media items.
objectMetadata for video media items.
objectMetadata for DICOM (Digital Imaging and Communications in Medicine) media items.
1
2
3
curl \
\t-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/v2/mediasets/{mediaSetRid}/items/{mediaItemRid}/metadata?preview=true"1
2
3
4
5
6
7
8
9
{
"type": "imagery",
"format": "PNG",
"dimensions": {
"width": 1920,
"height": 1080
},
"sizeBytes": 2048576
}