organization

POST /api/organization/{id}/live-sources

Changed on

An organization's live contribution inputs and their coming bookings.

Only its own members see them: a source's stream ID is half of what an encoder needs to publish to it. Creating one is for those who may program the organization's airtime.

Request

  • The document declares no server URL.
  • Auth
    • API key in header Authorization
    • or API key in cookie sessionid

Path parameters

idinteger required

Request body

namestring required
enabledboolean
logoPosition'top-right' | 'stortinget-clock'
  • top-right - Øverst til høyre
  • stortinget-clock - Rundt Stortingets klokke
pullUrlstring

An address Frikanalen pulls this source from (srt://, rtmp(s)://, rtsp(s)://, or https:// for HLS), instead of an encoder pushing to it. Empty makes it a pushed source again. Never returned; see pull_target.

Response

idinteger required
namestring required
enabledboolean
logoPosition'top-right' | 'stortinget-clock'
  • top-right - Øverst til høyre
  • stortinget-clock - Rundt Stortingets klokke
isPulledboolean required
pullTargetstring required

Scheme, host and port of the pull address.

encoderCountinteger required

Encoders that hold a key to this source. A pushed source with none cannot receive a signal.

canDeleteboolean required

A source no programme has ever used can be deleted; one that has stays, and can be switched off.

streamIdstring uuid required
contributionPathstring required
previewPathstring required

Changes

    • breaking

      added to the oneOf[#/components/schemas/OrganizationLiveSourcesCreateValidationError]/errors/items response property oneOf list for the response status

    • info

      added the new optional request property logoPosition

    • info

      added the optional property logoPosition to the response with the status

    1 more change in this revision