Video

Retrieves a Video resource.

Retrieves a Video resource.

get/videos/{id}

Request

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

Path parameters

idstring required

Video identifier

Response

Video resource

idinteger
namestring
providerstring
imageUrlstring nullable
videoSourcestring
statusstring
scope'private_owner' | 'private_team' | 'public'

Who is able to see the video? private_owner: Only the owner, private_team: Only the players in the same team as the owner, public: Everyone.

likedboolean

Do the current user already liked this video?

videoSourcesstring[] nullable
imageUrlsstring[] nullable
createdAtstring date-time
updatedAtstring date-time
referencestring
likesTotalinteger

Get Likes Total.

Example response

{
  "status": "available",
  "scope": "public",
  "player": {
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "ngtvSession": {
    "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"
    },
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "ngtvSessionEventType": {
    "position": 1,
    "color": "green",
    "duration": 30,
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Changes

No recorded changes to this operation across all 1 revision of this API.