roles
Catalog
Available atomic permissions and evolving Aixy-managed permission profiles.
GET
/
api
/
roles
/
catalog
Catalog
curl --request GET \
--url https://api.aixy-gateway.com/api/roles/catalog \
--cookie gateway_session=import requests
url = "https://api.aixy-gateway.com/api/roles/catalog"
headers = {"cookie": "gateway_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'gateway_session='}};
fetch('https://api.aixy-gateway.com/api/roles/catalog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"permissions": [
{
"id": "<string>",
"label": "<string>",
"group": "<string>",
"scope": "<string>",
"owner_only": true
}
],
"profiles": [
{
"id": "<string>",
"label": "<string>",
"description": "<string>",
"permissions": [
"<string>"
]
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}⌘I
Catalog
curl --request GET \
--url https://api.aixy-gateway.com/api/roles/catalog \
--cookie gateway_session=import requests
url = "https://api.aixy-gateway.com/api/roles/catalog"
headers = {"cookie": "gateway_session="}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {cookie: 'gateway_session='}};
fetch('https://api.aixy-gateway.com/api/roles/catalog', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"permissions": [
{
"id": "<string>",
"label": "<string>",
"group": "<string>",
"scope": "<string>",
"owner_only": true
}
],
"profiles": [
{
"id": "<string>",
"label": "<string>",
"description": "<string>",
"permissions": [
"<string>"
]
}
]
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}{
"error": {
"code": "<string>",
"message": "<string>",
"details": {}
}
}