DoohContent

Retrieves the collection of DoohContent resources.

Retrieves the collection of DoohContent resources.

get/dooh_contents

Request

  • Base URL: https://api.spash.com
  • URL: https://api.spash.com/dooh_contents
  • 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[position]'asc' | 'desc'
order[createdAt]'asc' | 'desc'
order[updatedAt]'asc' | 'desc'
contentTypestring
contentType[]string[]
advertboolean
dooh.sportCenter.referenceinteger
dooh.sportCenter.reference[]integer[]
dooh.idinteger
dooh.id[]integer[]
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

DoohContent collection

idinteger
positioninteger required
durationinteger required
advertboolean
fileUrlstring nullable

Url of the file. To remove, set it to null.

filePathstring nullable
role'ROLE_ADMIN' | 'ROLE_SUPER_ADMIN' | 'ROLE_DEVOPS' | 'ROLE_USER' | 'ROLE_MANAGER' | 'ROLE_COACH' | 'ROLE_INTERN_MARCOM' | 'ROLE_INTERN_VIEWER' | 'ROLE_BOOKING_PROVIDER' | 'ROLE_NO_DAILY_CLIPS_LIMIT' | 'ROLE_CLIPS_EXPIRE' | 'ROLE_PEDRO_DEMO_ADMIN' | 'ROLE_PEDRO_DEMO_USER' | 'ROLE_SPASH_STICKER_ADMIN' required
contentType'article' | 'bookings' | 'competition' | 'highlights' | 'image' | 'multiplex' | 'video' required
competitionStagestring
bookingsDatastring[] nullable
createdAtstring date-time
updatedAtstring date-time

Example response

[
  {
    "duration": 30,
    "role": "ROLE_MANAGER",
    "contentType": "highlights",
    "competitionStage": "final",
    "article": {
      "createdAt": "CURRENT_TIMESTAMP",
      "updatedAt": "CURRENT_TIMESTAMP"
    },
    "competition": {
      "sessionDuration": 3000,
      "breakDuration": 300,
      "status": "not_played",
      "createdAt": "CURRENT_TIMESTAMP",
      "updatedAt": "CURRENT_TIMESTAMP"
    },
    "dooh": {
      "theme": "default",
      "type": "full",
      "orientation": "landscape",
      "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.