Camera
This route is for pedros to send camera snapshot.
Creates a Camera resource.
post/cameras/add_snapshot
Request
- Base URL: https://api.spash.com
- URL: https://api.spash.com/cameras/add_snapshot
- Auth: one of:
- API key in header Authorization
- HTTP bearer
Request body
Example request
{
"firstLogoPosition": "top_left",
"secondLogoPosition": "bottom_right",
"scorePosition": "top_right",
"videoCameraOverlayPosition": "bottom_left"
}Response
Camera resource created
Example response
{
"firstLogoPosition": "top_left",
"secondLogoPosition": "bottom_right",
"scorePosition": "top_right",
"videoCameraOverlayPosition": "bottom_left",
"field": {
"sportCenter": {
"coordinates": [
0,
0
],
"visible": true,
"timeZone": "Europe/Paris",
"durationChoices": [
3600,
5400,
7200
],
"language": "en",
"distanceUnite": "km",
"country": {
"currency": "EUR"
},
"tags": [
{
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
}
],
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
},
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
},
"type": "regular",
"createdAt": "CURRENT_TIMESTAMP",
"updatedAt": "CURRENT_TIMESTAMP"
}Changes
No recorded changes to this operation across all 1 revision of this API.