Widgets

Publish widget version

Changed on

Publish a widget version. Refused with 409 while another version is published; that version must be paused first. Refused with 400 while the version has issues; the response's data.issues lists them.

post/widget/{id}/{version}/publish

Request

  • Base URL
    https://api.lytics.io/v2
  • URL
    https://api.lytics.io/v2/widget/{id}/{version}/publish
  • Auth
    API key in header Authorization

Path parameters

idstring required

The widget id

versioninteger required

The widget version

Query parameters

account_idstring

The account ID. Defaults to the user's default account.

Response

Widget

_metaobject

Response Metadata

request_idstring
statusinteger

HTTP Status Code

Changes