{
"media": {
"content_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"device_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expires_at": "2023-11-07T05:31:56Z",
"media_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"media_type": "video",
"status": "pending",
"url": "<string>",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Media
Get Media
Returns a specified piece of media, such as a video clip or thumbnail image captured for a camera event, with a short-lived URL from which you can download it.
GET
/
media
/
get
{
"media": {
"content_type": "<string>",
"created_at": "2023-11-07T05:31:56Z",
"device_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"event_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"expires_at": "2023-11-07T05:31:56Z",
"media_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"media_type": "video",
"status": "pending",
"url": "<string>",
"workspace_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a"
}
}Returns a specified piece of media, such as a video clip or thumbnail image captured for a camera event, with a short-lived URL from which you can download it. Camera events list their media in
media_ids. This endpoint is in beta.Authorizations
api_keypat_with_workspaceconsole_session_with_workspaceclient_sessionclient_session_with_customerclient_session_with_customer_rosupport_read_only_token
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Query Parameters
ID of the media that you want to get.
Response format. json returns the media object. redirect responds with a 302 redirect to the media's download URL, so you can use this endpoint directly as the source of an image or video.
Available options:
json, redirect Response
OK
Represents a piece of media, such as a video clip or a thumbnail image, that a device captured for an event. Media is in beta. See the media object.
Show child attributes
Show child attributes
Was this page helpful?