Returns the boot script for a publishable embed key.
The script publishes the widget's presentation manifest on the page and then appends the SRI-pinned loader, which is what lets an operator change the widget's mode, layout and appearance from Fruxon without the customer editing their site again. Cached for five minutes with a long stale-while-revalidate window, so it survives an origin blip and a publish reaches visitors quickly. An unknown or disabled key returns 404, served uncached. A 200 carrying an inert script would read friendlier on a site Fruxon doesn't own, but it would be cached as a valid script — so re-enabling a paused widget could leave it dark for up to a day on pages a visitor had already loaded.
Path Parameters
The publishable embed key the script is built for.
Response Body
application/javascript
application/javascript
application/javascript
curl -X GET "https://api.fruxon.com/v1/embed/scripts/string""string"{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}{
"type": "string",
"title": "string",
"status": 0,
"detail": "string",
"instance": "string",
"property1": null,
"property2": null
}