A brand's own Office templates, in a portal
const url = 'http://localhost:3000/api/v1/portal/example/brands/example/office/templates';const options = {method: 'GET'};
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/portal/example/brands/example/office/templatesThe PowerPoint, Word and Excel files on the brand’s latest publish, behind the portal’s door, only those that may leave the team, each with its check: GET /api/v1/brand/office/templates.
No key needed.
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”The portal’s address
One of its brands, by slug
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" } ]}Not in yet: how to get in
object
object
object
object
A URL on this host: the portal’s, else its first brand’s mark, else its organization’s
The portal’s, else its first brand’s color, else its organization’s
The organization’s, for the browser tab
What the organization calls the product
Example
{ "error": { "code": "password", "detail": { "access": "password" } }}default
Section titled “default”An error
object
object
Examplegenerated
{ "error": { "code": "example", "message": "example", "detail": "example" }}