GET
/
safety
/
events
/
{id}
/
camera-media
curl --request GET \
  --url https://api.withterminal.com/tsp/v1/safety/events/{id}/camera-media \
  --header 'Authorization: Bearer <token>' \
  --header 'Connection-Token: <connection-token>'
{
  "frontFacing": {
    "sourceId": "12345",
    "videoUrl": "https://example.com/video.mp4"
  },
  "rearFacing": {
    "sourceId": "12345",
    "videoUrl": "https://example.com/video.mp4"
  },
  "raw": []
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Headers

Connection-Token
string
required

The token returned when a user authenticated their account. This authorizes access to a specific account.

Example:

"con_tkn_22vUhkC6tgre4kwaYfUkCDA1rzn6eyb4"

Path Parameters

id
string
required

The id of the safety event.

Query Parameters

raw
boolean

Include raw responses used to normalize model. Used for debugging or accessing unique properties that are not unified.

Response

200
application/json
OK
frontFacing
object

The front facing camera media.

rearFacing
object

The rear facing camera media.

raw
object[]

List of the raw data used to normalize the common model. Response schemas will vary by provider.

Raw data fetched from the source provider. Most of our endpoints support a raw query parameter that will append a list of the raw requests used to form our common model. This can be helpful for leveraging unique fields that are not part of our unified model.

Example:
[]