Read an application's automatic build fixing setting
import requests
url = "https://platform.ankra.app/org/applications/{application_id}/auto-fix-builds"
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}/auto-fix-builds', 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}/auto-fix-builds \
--header 'Authorization: Bearer <token>'{
"enabled": true
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Applications
Read an application's automatic build fixing setting
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
import requests
url = "https://platform.ankra.app/org/applications/{application_id}/auto-fix-builds"
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}/auto-fix-builds', 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}/auto-fix-builds \
--header 'Authorization: Bearer <token>'{
"enabled": true
}{
"detail": "<string>"
}{
"detail": [
{
"loc": [
"<string>"
],
"msg": "<string>",
"type": "<string>"
}
]
}Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
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.