DoohContent

Retrieves a DoohContent resource.

Retrieves a DoohContent resource.

get/dooh_contents/{id}

Request

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

Path parameters

idstring required

DoohContent identifier

Response

DoohContent resource

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.