Get the application's planned address
import requests
url = "https://platform.ankra.app/org/applications/{application_id}/planned-address"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/org/applications/{application_id}/planned-address', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/applications/{application_id}/planned-address \
--header 'Authorization: Bearer <token>'{
"application_id": "<string>",
"state": "planned",
"host": "<string>",
"domain": "<string>",
"domain_source": "<string>",
"reason": "<string>"
}{
"detail": "<string>"
}applications
Get the application's planned address
The address the application’s first deploy would publish on, knowable from birth when the organisation’s preview domain is published by one of its clusters. A read, not a reservation: the deploy’s own derivation stays the authority on what is published. state is planned (host named), none (nothing to name yet - the reason says why) or unknown (the organisation’s DNS settings could not be read, which is not an organisation without a preview domain).
GET
/
org
/
applications
/
{application_id}
/
planned-address
Get the application's planned address
import requests
url = "https://platform.ankra.app/org/applications/{application_id}/planned-address"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://platform.ankra.app/org/applications/{application_id}/planned-address', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/applications/{application_id}/planned-address \
--header 'Authorization: Bearer <token>'{
"application_id": "<string>",
"state": "planned",
"host": "<string>",
"domain": "<string>",
"domain_source": "<string>",
"reason": "<string>"
}{
"detail": "<string>"
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.