curl --location --request GET 'https://api.synap.ac/v3/access-policies?limit=&offset='
{
"data": [
{
"id": "FID001",
"type": "AccessPolicy",
"attributes": {
"target": "string",
"targetLabel": "string",
"subTarget": "string",
"action": "string",
"actionLabel": "string",
"effect": "allow",
"position": 0,
"inherited": true,
"isSpecific": true,
"isCore": true,
"targetCondition": {
"field": "string",
"operation": "$eq",
"value": "string"
}
},
"relationships": {
"userGroup": {
"data": {
"id": "FID001",
"type": "UserGroup"
}
},
"associations": {
"data": [
{
"id": "FID001",
"type": "AccessPolicy"
}
]
},
"targetResources": [
{
"id": "string",
"type": "TargetResource",
"attributes": {
"title": "string",
"type": "string"
}
}
]
}
}
],
"included": [
{
"id": "FID001",
"type": "_User",
"attributes": {},
"relationships": {
"property1": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
},
"property2": {
"data": {
"id": "FID001",
"type": "_User"
},
"links": {
"self": "string",
"related": "string"
},
"meta": {}
}
}
}
],
"meta": {
"total": 0,
"totalWithoutFilters": 0,
"pages": 0,
"page": 0,
"offset": 0,
"limit": 0,
"totalCount": 0,
"resultCount": 0,
"totalPages": 0,
"currentPage": 0
}
}