Read an application's automatic build fixing setting (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/auto-fix-builds"
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/applications/{application_id}/auto-fix-builds', 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/applications/{application_id}/auto-fix-builds \
--cookie ankra_session={
"enabled": true
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Applications
Read an application's automatic build fixing setting (browser session)
Read whether Ankra automatically runs its fix-build lane - deterministic repairs first, a one-shot mission agent opening a pull request as the fallthrough - when a build of the application’s tracked branch fails. On by default: the flag exists to opt out, and automatic dispatch is bounded to one mission per application per UTC day.
GET
/
org
/
applications
/
{application_id}
/
auto-fix-builds
Read an application's automatic build fixing setting (browser session)
import requests
url = "https://api.platform.ankra.app/org/applications/{application_id}/auto-fix-builds"
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/applications/{application_id}/auto-fix-builds', 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/applications/{application_id}/auto-fix-builds \
--cookie ankra_session={
"enabled": true
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Browser session. Mutations also require X-Ankra-CSRF.
Path Parameters
Response
Successful Response
An application's automatic build fixing setting: whether a failed build of the tracked branch dispatches Ankra's fix-build lane without a click. On by default.