Read shared stack draft changes
import requests
url = "https://platform.ankra.app/org/clusters/imported/{cluster_id}/drafts/stacks/{draft_id}/diff"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/clusters/imported/{cluster_id}/drafts/stacks/{draft_id}/diff', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/clusters/imported/{cluster_id}/drafts/stacks/{draft_id}/diff \
--cookie ankra_session={
"draft_change_authors": {}
}Imported Clusters
Read shared stack draft changes
Requires stack read access to this organisation and cluster. Draft author evidence is additive and reads never backfill attribution.
GET
/
org
/
clusters
/
imported
/
{cluster_id}
/
drafts
/
stacks
/
{draft_id}
/
diff
Read shared stack draft changes
import requests
url = "https://platform.ankra.app/org/clusters/imported/{cluster_id}/drafts/stacks/{draft_id}/diff"
headers = {"cookie": "ankra_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'ankra_session='}};
fetch('https://platform.ankra.app/org/clusters/imported/{cluster_id}/drafts/stacks/{draft_id}/diff', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));curl --request GET \
--url https://platform.ankra.app/org/clusters/imported/{cluster_id}/drafts/stacks/{draft_id}/diff \
--cookie ankra_session={
"draft_change_authors": {}
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Response
Draft read with optional writer evidence
Keys are kind:name. Legacy changes with no writer evidence are absent. Values changes are attributed to their add-on.
Show child attributes
Show child attributes