Create a reinforcement
curl --request POST \
--url https://aquila.attaxr.com/api/reinforcements \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"assetId": "<string>",
"assetValue": "<string>",
"vulnerabilities": [
{
"name": "<string>",
"category": {
"name": "<string>",
"isCustom": true
},
"description": "<string>",
"poc": "<string>",
"stepsToReproduce": "<string>",
"cvss": "<string>",
"impact": "<string>",
"otherInfo": "<string>",
"aiGeneratedName": true,
"aiGeneratedDesc": true
}
]
}
'const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({
assetId: '<string>',
assetValue: '<string>',
vulnerabilities: [
{
name: '<string>',
category: {name: '<string>', isCustom: true},
description: '<string>',
poc: '<string>',
stepsToReproduce: '<string>',
cvss: '<string>',
impact: '<string>',
otherInfo: '<string>',
aiGeneratedName: true,
aiGeneratedDesc: true
}
]
})
};
fetch('https://aquila.attaxr.com/api/reinforcements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/reinforcements"
payload = {
"assetId": "<string>",
"assetValue": "<string>",
"vulnerabilities": [
{
"name": "<string>",
"category": {
"name": "<string>",
"isCustom": True
},
"description": "<string>",
"poc": "<string>",
"stepsToReproduce": "<string>",
"cvss": "<string>",
"impact": "<string>",
"otherInfo": "<string>",
"aiGeneratedName": True,
"aiGeneratedDesc": True
}
]
}
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Reinforcements
Create a reinforcement
POST
/
api
/
reinforcements
Create a reinforcement
curl --request POST \
--url https://aquila.attaxr.com/api/reinforcements \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"assetId": "<string>",
"assetValue": "<string>",
"vulnerabilities": [
{
"name": "<string>",
"category": {
"name": "<string>",
"isCustom": true
},
"description": "<string>",
"poc": "<string>",
"stepsToReproduce": "<string>",
"cvss": "<string>",
"impact": "<string>",
"otherInfo": "<string>",
"aiGeneratedName": true,
"aiGeneratedDesc": true
}
]
}
'const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({
assetId: '<string>',
assetValue: '<string>',
vulnerabilities: [
{
name: '<string>',
category: {name: '<string>', isCustom: true},
description: '<string>',
poc: '<string>',
stepsToReproduce: '<string>',
cvss: '<string>',
impact: '<string>',
otherInfo: '<string>',
aiGeneratedName: true,
aiGeneratedDesc: true
}
]
})
};
fetch('https://aquila.attaxr.com/api/reinforcements', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/reinforcements"
payload = {
"assetId": "<string>",
"assetValue": "<string>",
"vulnerabilities": [
{
"name": "<string>",
"category": {
"name": "<string>",
"isCustom": True
},
"description": "<string>",
"poc": "<string>",
"stepsToReproduce": "<string>",
"cvss": "<string>",
"impact": "<string>",
"otherInfo": "<string>",
"aiGeneratedName": True,
"aiGeneratedDesc": True
}
]
}
headers = {
"cookie": "better-auth.session_token=",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text){
"error": "<string>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
apiKeyCookieapiKeyHeaderbearerAuth
Browser session cookie set by Better Auth sign-in.
Body
application/json

