artifacts
One component preview as a document [read]
Changed onThe preview with tokens.css, fonts, bundle.css, libraries and bundle.js preloaded and data-theme set, as JSON for a sandboxed frame (srcdoc with no same-origin access). Cover is the system's cover.
get/artifacts/{id}/design-system/previews/{component}
Request
- Base URLhttps://api.agentsky.dev/v1
- URLhttps://api.agentsky.dev/v1/artifacts/{id}/design-system/previews/{component}
- AuthHTTP bearer
Path parameters
idstring required
The artifact id
componentstring required
Query parameters
themestring
A theme id from tokens.json; defaults to the first
Response
OK
Changes
- info
endpoint added
- info