Serve an app artifact
GET
/api/v1/artifacts/serve/**
const url = 'http://localhost:11044/api/v1/artifacts/serve/**';const options = {method: 'GET', headers: {'X-Embabel-Api-Key': '<X-Embabel-Api-Key>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url 'http://localhost:11044/api/v1/artifacts/serve/**' \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Serves a raw file from the app artifact directories — scoped (serve/{scope}/{path}, where the path may include subfolders) or by flat-name precedence (serve/{name}) — with a content type derived from its extension (html, css, js, json, svg; anything else is octet-stream).
Authorizations
Section titled “Authorizations”Responses
Section titled “Responses”The file content
object
object
No such app artifact

