widget

Parameters for edting/adding audio file to a specific widget

Changed on

Parameters for edting/adding audio file to a specific widget

put/playlist/widget/{widgetId}/audio

Request

  • Base URL
    /api (relative, and the document was published on a file host, not at the API’s origin)
  • URL
    /api/playlist/widget/{widgetId}/audio
  • Auth
    none declared

Path parameters

widgetIdinteger required

Id of a widget to which you want to add audio or edit existing audio

Request body application/x-www-form-urlencoded

mediaIdinteger

Id of a audio file in CMS library you wish to add to a widget

volumeinteger

Volume percentage(0-100) for this audio to play at

loopinteger

Flag (0, 1) Should the audio loop if it finishes before the widget has finished?

Response

successful operation

widgetIdinteger

The Widget ID

playlistIdinteger

The ID of the Playlist this Widget belongs to

ownerIdinteger

The ID of the User that owns this Widget

typestring

The Module Type Code

durationinteger

The duration in seconds this widget should be shown

displayOrderinteger

The display order of this widget

useDurationinteger

Flag indicating if this widget has a duration that should be used

calculatedDurationinteger

Calculated Duration of this widget after taking into account the useDuration flag

createdDtstring

The datetime the Layout was created

modifiedDtstring

The datetime the Layout was last modified

fromDtinteger

Widget From Date

toDtinteger

Widget To Date

schemaVersioninteger

Widget Schema Version

transitionIninteger

Transition Type In

transitionOutinteger

Transition Type out

transitionDurationIninteger

Transition duration in

transitionDurationOutinteger

Transition duration out

mediaIdsinteger[]

An array of MediaIds this widget is linked to

playliststring

The name of the Playlist this Widget is on

Changes

    • breaking

      added required request body

    • info

      added the media type application/json for the response with the status

    • breaking

      removed the request body

    • breaking

      removed the media type application/json for the response with the status