Get an onboarding app
import requests
url = "https://api.platform.ankra.app/org/onboarding/apps/{app_id}"
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/apps/{app_id}', 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/apps/{app_id} \
--cookie ankra_session={
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"repository": "<string>",
"state": "setting_up",
"url": "<string>",
"message": "<string>",
"steps": [
{
"key": "application",
"state": "todo",
"message": "<string>"
}
],
"dependencies": [
"postgres"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}Onboarding
Get an onboarding app
One onboarding app and its steps, after one pass at what it waits on. Browser-session route.
GET
/
org
/
onboarding
/
apps
/
{app_id}
Get an onboarding app
import requests
url = "https://api.platform.ankra.app/org/onboarding/apps/{app_id}"
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/apps/{app_id}', 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/apps/{app_id} \
--cookie ankra_session={
"id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"cluster_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"application_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
"repository": "<string>",
"state": "setting_up",
"url": "<string>",
"message": "<string>",
"steps": [
{
"key": "application",
"state": "todo",
"message": "<string>"
}
],
"dependencies": [
"postgres"
],
"created_at": "2023-11-07T05:31:56Z",
"updated_at": "2023-11-07T05:31:56Z"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}{
"detail": "Cluster not found"
}Authorizations
Response
The onboarding app.
The onboarding wizard's app: an existing repository registered as an application on the cluster, with AI code review, pull request previews, backups, merge-when-green on the setup pull request and the first deploy turned on. The id is the application's id.