Dooh

Creates a Dooh resource.

Creates a Dooh resource.

post/doohs

Request

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

Request body

namestring
theme'default' | 'le_five' | '4_padel' | 'powerleague'

Theme of the Pedro's interfaces.

type'lite' | 'full'
orientation'landscape' | 'portrait'
sportCenterstring iri-reference required
sportsstring[]

Example request

{
  "theme": "default",
  "type": "full",
  "orientation": "landscape",
  "sportCenter": "https://example.com/",
  "sports": [
    "https://example.com/"
  ]
}

Response

Dooh resource created

idinteger
namestring
theme'default' | 'le_five' | '4_padel' | 'powerleague'

Theme of the Pedro's interfaces.

type'lite' | 'full'
orientation'landscape' | 'portrait'
createdAtstring date-time
updatedAtstring date-time

Example response

{
  "theme": "default",
  "type": "full",
  "orientation": "landscape",
  "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"
}

Changes

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