Get theme CSS
GET
/api/v1/themes/{name}.css
const url = 'http://localhost:11044/api/v1/themes/example.css';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/themes/example.css \ --header 'X-Embabel-Api-Key: <X-Embabel-Api-Key>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”name
required
string
Theme name; the path is the name with a .css suffix
Responses
Section titled “Responses”The theme stylesheet
Media typetext/css
string
Unknown theme

