Create a share link
curl --request POST \
--url https://aquila.attaxr.com/api/js-analysis/{id}/share \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"expiresInDays": 4
}
'const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({expiresInDays: 4})
};
fetch('https://aquila.attaxr.com/api/js-analysis/{id}/share', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/js-analysis/{id}/share"
payload = { "expiresInDays": 4 }
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>"
}JS Analysis
Create a share link
Creates or reuses the public link for this resource. The body is optional — the default lifetime applies when omitted.
POST
/
api
/
js-analysis
/
{id}
/
share
Create a share link
curl --request POST \
--url https://aquila.attaxr.com/api/js-analysis/{id}/share \
--header 'Content-Type: application/json' \
--cookie better-auth.session_token= \
--data '
{
"expiresInDays": 4
}
'const options = {
method: 'POST',
headers: {cookie: 'better-auth.session_token=', 'Content-Type': 'application/json'},
body: JSON.stringify({expiresInDays: 4})
};
fetch('https://aquila.attaxr.com/api/js-analysis/{id}/share', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/js-analysis/{id}/share"
payload = { "expiresInDays": 4 }
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>"
}
