Overlay

Creates a Overlay resource.

Creates a Overlay resource.

post/overlays

Request

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

Request body

type'client' | 'partner' | 'ngtv'
widthnumber
heightnumber
marginXnumber
marginYnumber
position'top_left' | 'top_right' | 'bottom_left' | 'bottom_right'
pathstring

Example request

{
  "type": "client",
  "width": 10,
  "height": 10,
  "marginX": 2,
  "marginY": 2
}

Response

Overlay resource created

idinteger
type'client' | 'partner' | 'ngtv'
widthnumber
heightnumber
marginXnumber
marginYnumber
position'top_left' | 'top_right' | 'bottom_left' | 'bottom_right'
pathstring
createdAtstring date-time
updatedAtstring date-time

Example response

{
  "type": "client",
  "width": 10,
  "height": 10,
  "marginX": 2,
  "marginY": 2,
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Changes

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