Organization design templates this store may add, and where its linked copies stand
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/ \
--header 'Authorization: Bearer <token>'{
"available": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"version": 123,
"copy_id": "<string>",
"status": "not_added"
}
],
"copies": {}
}Organization items
Organization design templates this store may add, and where its linked copies stand
?slug= picks the store’s design template list (default design_templates). Needs artifacts read.
GET
/
projects
/
{project_id}
/
organization-design-templates
/
Organization design templates this store may add, and where its linked copies stand
import requests
url = "https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://eu.app.clarifeye.ai/api/v1/projects/{project_id}/organization-design-templates/ \
--header 'Authorization: Bearer <token>'{
"available": [
{
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"name": "<string>",
"version": 123,
"copy_id": "<string>",
"status": "not_added"
}
],
"copies": {}
}Authorizations
BearerAuthTokenAuth
Use Authorization: Bearer <token>. The token is either a user token / OAuth access
token, or a service-account API key (cfk_...). A key is valid on every endpoint and
acts as its service account, an organization member with per-store permissions.
Refused keys answer 403 with Invalid API key., API key revoked.,
API key expired. or API key disabled..