Camera

Retrieves a Camera resource.

Retrieves a Camera resource.

get/cameras/{id}

Request

  • Base URL: https://api.spash.com
  • URL: https://api.spash.com/cameras/{id}
  • Auth: one of:
    • API key in header Authorization
    • HTTP bearer

Path parameters

idstring required

Camera identifier

Response

Camera resource

idinteger
namestring
switchedOnboolean
urlstring required
snapshotURLstring nullable
snapshotUpdatedAtstring date-time nullable
firstLogoPosition'top_left' | 'top_right' | 'bottom_left' | 'bottom_right'
secondLogoPosition'top_left' | 'top_right' | 'bottom_left' | 'bottom_right'
scorePosition'top_left' | 'top_right' | 'bottom_left' | 'bottom_right'
videoCameraOverlayPosition'top_left' | 'top_right' | 'bottom_left' | 'bottom_right'
layerstring[] nullable
macAddressstring nullable
detectedProblemsstring[] nullable
type'ai' | 'regular'
homographystring[] nullable
goalsPositionstring[] nullable
settingsstring[] nullable
createdAtstring date-time
updatedAtstring date-time
ipstring nullable

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.