List the onboarding website starters
import requests
url = "https://api.platform.ankra.app/org/onboarding/website-templates"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/onboarding/website-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/onboarding/website-templates \
--cookie ankra_session={
"templates": [
{
"key": "<string>",
"name": "<string>",
"tagline": "<string>",
"category": "<string>",
"theme": "<string>"
}
],
"categories": [
"<string>"
],
"themes": [
{
"key": "<string>",
"name": "<string>",
"scheme": "light",
"colors": {}
}
]
}{
"detail": "Cluster not found"
}Onboarding
List the onboarding website starters
The website starters the onboarding wizard offers, the order of their categories, and the themes any of them can wear. The same for every organisation. Browser-session route.
GET
/
org
/
onboarding
/
website-templates
List the onboarding website starters
import requests
url = "https://api.platform.ankra.app/org/onboarding/website-templates"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://api.platform.ankra.app/org/onboarding/website-templates', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://api.platform.ankra.app/org/onboarding/website-templates \
--cookie ankra_session={
"templates": [
{
"key": "<string>",
"name": "<string>",
"tagline": "<string>",
"category": "<string>",
"theme": "<string>"
}
],
"categories": [
"<string>"
],
"themes": [
{
"key": "<string>",
"name": "<string>",
"scheme": "light",
"colors": {}
}
]
}{
"detail": "Cluster not found"
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.