Back to the list of all defined endpoints
/api/authz/resourcepolicies
As we don't have yet an use case to iterate over all the existent resource policies the main endpoint is not implemented and a 405 error code is returned according to our [general error response codes](README.md#Error codes).
/api/authz/resourcepolicies/<:id>
Provide detailed information about a specific resource policy. The JSON response document is as follow
{
"id": 2844,
"name": null,
"description": null,
"policyType": "TYPE_SUBMISSION",
"action": "READ",
"type": "resourcePolicy"
}
Exposed links:
- eperson: link to the eperson that have permission grant by the policy
- group: link to the group that have permission grant by the policy
- resource: link to the resource subject to the policy
/api/authz/resourcepolicies/<:id>/eperson
t.b.d
/api/authz/resourcepolicies/<:id>/group
t.b.d
/api/authz/resourcepolicies/<:id>/resource
t.b.d