Camera

Retrieves the collection of Camera resources.

Retrieves the collection of Camera resources.

get/cameras

Request

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

Query parameters

pageinteger

The collection page number

itemsPerPageinteger

The number of items per page

paginationboolean

Enable or disable pagination

idinteger
id[]integer[]
field.idinteger
field.id[]integer[]
field.sportCenter.idinteger
field.sportCenter.id[]integer[]
namestring
createdAt[before]string
createdAt[strictly_before]string
createdAt[after]string
createdAt[strictly_after]string
updatedAt[before]string
updatedAt[strictly_before]string
updatedAt[after]string
updatedAt[strictly_after]string
order[createdAt]'asc' | 'desc'
order[updatedAt]'asc' | 'desc'

Response

Camera collection

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.