The brand's own Office templates
const url = 'http://localhost:3000/api/v1/brand/office/templates';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/templates \ --header 'Authorization: Bearer <token>'The PowerPoint, Word and Excel files (pptx, potx, docx, dotx, xlsx, xltx) on a release’s rules, each at its latest version, approved and usable now, that the caller may see. Put one on a rule (a templates.slides rule, say) as a logo is. Each says what in it won’t follow the brand: colors and faces written on shapes and runs instead of taken from its theme, and images the library doesn’t have.
Scope: read.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Query Parameters
Section titled “Query Parameters”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 templates
object
object
The file’s asset id, at its latest version: download it at /api/v1/brand/office/templates/{id}
Why the file can’t be read; null when it can
Theme parts in it: none, and only its images follow the brand
Colors written on shapes or runs that aren’t the brand’s, most used first
object
Faces written on shapes or runs that aren’t the brand’s heading or text family
object
Its images: how many the library has, and how many a download replaces with a newer version
object
Everything in it follows a release: a theme, nothing written outside it, every image the library’s
Example
{ "data": [ { "kind": "potx", "app": "PowerPoint" } ]}default
Section titled “default”An error
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}