Deploy a Widget
Last updated
Last updated
To deploy a widget, send a POST request on /widgets/deployments
.
Note that if you have added metadata to a , a or a , they will be available in the remote in case you are using our or .
To list all deployments, send a GET request on /widgets/deployments
.
Optional query parameters:
$limit
: number of max results to return
$skip
: Number of results to skip
$sort
: represents sorting options. Accepts date properties to sort (created_at
, updated_at
) as keys and -1 or 1 for sort direction as value.
$sort[created_at]=1
or -1
$sort[updated_at]=1
or -1
widget_id
: To filter deployments by widget ID
To find a deployment, send a GET request on /widgets/deployments/{id}
.
remote
widget configurationA remote widget is a embeddable widget that has been deployed. Although the configuration object is generally used by our SDK to render the widget, you can use the endpoint below to re-build your own widget while relying on Widget engine.
* api_key
and widget_id
are both accessible in Didomi Console, in the widget edit page.
This way of fetching widget configuration is the most reliable provided by Didomi. Remote widgets configuration is stored in a S3 Standard Bucket which is design for 99.99% availability.