layout

Edit Region

put/region/{id}

Request

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

Path parameters

idinteger required

The Region ID to Edit

Request body application/x-www-form-urlencoded

widthinteger

The Width, default 250

heightinteger

The Height

topinteger

The Top Coordinate

leftinteger

The Left Coordinate

zIndexinteger

The Layer for this Region

transitionTypestring

The Transition Type. Must be a valid transition code as returned by /transition

transitionDurationinteger

The transition duration in milliseconds if required by the transition type

transitionDirectionstring

The transition direction if required by the transition type.

loopinteger required

Flag indicating whether this region should loop if there is only 1 media item in the timeline

Response

successful operation

regionIdinteger

The ID of this region

layoutIdinteger

The Layout ID this region belongs to

ownerIdinteger

The userId of the User that owns this Region

typestring

Region Type, zone, playlist, frame or canvas

namestring

The name of this Region

widthnumber double

Width of the region

heightnumber double

Height of the Region

topnumber double

The top coordinate of the Region

leftnumber double

The left coordinate of the Region

zIndexinteger

The z-index of the Region to control Layering

syncKeystring

The syncKey of this Region

durationinteger

A read-only estimate of this Regions's total duration in seconds. This is valid when the parent layout status is 1, 2 or 5.

isDrawerinteger

Flag, whether this region is used as an interactive drawer attached to a layout.

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