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.
Get media metadata for object. Media metadata contains an identifier and other attributes suitable for display/download, such as content type and title.
boolean
Represents a boolean value that restricts an endpoint to preview mode when set to true.
object
Success response
list<Media>
map<SecurityKey, ObjectComponentSecurity>
1
2
3
curl \
-H "Authorization: Bearer $TOKEN" \
"https://$HOSTNAME/api/gotham/v1/objects/ri.gotham.111111-0.object-internal.111111/media?preview=true"
1
2
3
4
5
6
7
8
9
10
11
{
"media": [
{
"rid": "ri.gotham.111111-0.media-internal.111111.xtdsXlRMFmRRUdwQsD2kZOYOLY_2FS0VQ9SviNM6AJ_2FJM_3D",
"title": "myimage.jpg",
"description": "My Image Description",
"sizeBytes": 10312,
"mediaType": "image/jpeg"
}
]
}