LiveStreamChannel

Creates a LiveStreamChannel resource.

Creates a LiveStreamChannel resource.

post/live_stream_channels

Request

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

Request body

namestring required
streamKeystring required

Readable by managers

type'youtube' | 'twitch' | 'facebook' | 'custom'
sportCenterstring iri-reference required

Example request

{
  "type": "twitch",
  "sportCenter": "https://example.com/"
}

Response

LiveStreamChannel resource created

idinteger
namestring required
type'youtube' | 'twitch' | 'facebook' | 'custom'
createdAtstring date-time
updatedAtstring date-time
rtmpUrlPrefixstring

Example response

{
  "currentSession": {
    "field": {
      "createdAt": "CURRENT_TIMESTAMP",
      "updatedAt": "CURRENT_TIMESTAMP"
    },
    "createdAt": "CURRENT_TIMESTAMP",
    "updatedAt": "CURRENT_TIMESTAMP"
  },
  "type": "twitch",
  "createdAt": "CURRENT_TIMESTAMP",
  "updatedAt": "CURRENT_TIMESTAMP"
}

Changes

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