Video

Retrieves the collection of Video resources.

Retrieves the collection of Video resources.

get/videos

Request

  • Base URL: https://api.spash.com
  • URL: https://api.spash.com/videos
  • 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

order[id]'asc' | 'desc'
order[createdAt]'asc' | 'desc'
order[updatedAt]'asc' | 'desc'
idinteger
id[]integer[]
ngtvSession.idinteger
ngtvSession.id[]integer[]
ngtvSession.field.sport.idinteger
ngtvSession.field.sport.id[]integer[]
ngtvSession.field.sportCenter.idinteger
ngtvSession.field.sportCenter.id[]integer[]
ngtvSession.field.sportCenter.country.idinteger
ngtvSession.field.sportCenter.country.id[]integer[]
ngtvSession.ngtvSessionTeams.team.idinteger
ngtvSession.ngtvSessionTeams.team.id[]integer[]
player.idinteger
player.id[]integer[]
articles.idinteger
articles.id[]integer[]
ngtvSessionEventType.idinteger
ngtvSessionEventType.id[]integer[]
namestring
scopestring
scope[]string[]
ngtvSessionEventType.typestring
ngtvSessionEventType.type[]string[]
referencestring
reference[]string[]
order[likesTotal]'asc' | 'desc'
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

Response

Video collection

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.