DoohContent

Creates a DoohContent resource.

Creates a DoohContent resource.

post/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

Request body

positioninteger required
durationinteger required
advertboolean
fileUrlstring nullable

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

contentType'article' | 'bookings' | 'competition' | 'highlights' | 'image' | 'multiplex' | 'video' required
competitionStagestring
bookingsDatastring[] nullable
articlestring iri-reference nullable
competitionstring iri-reference nullable
doohstring iri-reference required

Example request

{
  "duration": 30,
  "contentType": "highlights",
  "competitionStage": "final",
  "article": "https://example.com/",
  "competition": "https://example.com/",
  "dooh": "https://example.com/"
}

Response

DoohContent resource created

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.