Download the brand as an Office template
const url = 'http://localhost:3000/api/v1/brand/office?format=potx';const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
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:3000/api/v1/brand/office?format=potx' \ --header 'Authorization: Bearer <token>'A release as a PowerPoint template (potx) or a Word template (dotx). Both carry one Office theme: ink and paper as dk1 and lt1, the dark and the panel as dk2 and lt2, the accent as accent1 and the palette’s other colors after it, and the heading and text families, named rather than embedded, with the kind of face Office falls back to. The logo, when it may leave the team, sits on the slide master and the title layout and in the page header. The deck has title, title and content, and section layouts; Google Slides and LibreOffice open it too. One release is one file byte for byte: send its ETag back for a 304.
Scope: read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”Potx: a PowerPoint template; dotx: a Word template
A brand’s slug; the default brand without it
A release’s number; live, the release readers see, without it
Responses
Section titled “Responses”The template (binary)
default
Section titled “default”An error
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}