Get a resource by id
curl --request GET \
--url https://aquila.attaxr.com/api/constraints/{id} \
--cookie better-auth.session_token=const options = {method: 'GET', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/constraints/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/constraints/{id}"
headers = {"cookie": "better-auth.session_token="}
response = requests.get(url, headers=headers)
print(response.text){
"userId": "<string>",
"text": "<string>",
"enabled": true,
"createdAt": "<unknown>",
"updatedAt": "<unknown>"
}{
"error": "<string>"
}{
"error": "<string>"
}Constraints
Get a resource by id
GET
/
api
/
constraints
/
{id}
Get a resource by id
curl --request GET \
--url https://aquila.attaxr.com/api/constraints/{id} \
--cookie better-auth.session_token=const options = {method: 'GET', headers: {cookie: 'better-auth.session_token='}};
fetch('https://aquila.attaxr.com/api/constraints/{id}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://aquila.attaxr.com/api/constraints/{id}"
headers = {"cookie": "better-auth.session_token="}
response = requests.get(url, headers=headers)
print(response.text){
"userId": "<string>",
"text": "<string>",
"enabled": true,
"createdAt": "<unknown>",
"updatedAt": "<unknown>"
}{
"error": "<string>"
}{
"error": "<string>"
}Authorizations
apiKeyCookieapiKeyHeaderbearerAuth
Browser session cookie set by Better Auth sign-in.

