The templates whose latest versions use an item of a brand kit
GET
/v1/brandkits/{kit}/{kind}/{item}/templates
const url = 'https://example.com/v1/brandkits/example/example/example/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 https://example.com/v1/brandkits/example/example/example/templates \ --header 'Authorization: Bearer <token>'Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”kit
required
string
kind
required
string
item
required
string
Responses
Section titled “Responses”The answer.
Media typeapplication/json
Array<object>
object
template
required
string
filename
required
string
version
required
integer
revision
required
The kit revision that version used.
integer
Example generated
[ { "template": "example", "filename": "example", "version": 1, "revision": 1 }]The request is malformed (bad-request).
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}No key, or not a valid one.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}The key lacks the scope, or its tenant is suspended or deleted.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}Not there, or not the tenant’s.
Media typeapplication/json
object
code
required
string
message
required
string
requestId
string
Example
{ "code": "field-unknown"}