Retrieve the details for a capability

get/capabilities/{capabilityName}
Internal-Use Only

Retrieve the full details for a capability defined in the system, including list of groups assigned to that capability.

Request Samples

1

Response Samples

1{
2 "id": "4d80eebd-db26-4ee9-beff-a1ce51c24d9f",
3 "name": "sas.audit.report",
4 "uri": "/capability/sas/audit/report",
5 "description": "Grants access to run audit reports.",
6 "product": "va",
7 "version": 1,
8 "links": [
9 {
10 "method": "GET",
11 "rel": "self",
12 "href": "/autorization/capabilities/sas.audit.report",
13 "uri": "/autorization/capabilities/sas.audit.report",
14 "responseType": "application/vnd.sas.authorization.capability"
15 }
16 ],
17 "principals": [
18 {
19 "version": 2,
20 "name": "sviadms",
21 "type": "group"
22 }
23 ]
24}

Path Parameters

NameTypeRequiredDescription
capabilityName
string
true

Name of capability to fetch

Header Parameters

NameTypeRequiredDescription
Accept
string
false

The respresentation to use for the returned capabilities.

Allowed values:
application/vnd.sas.authorization.capabilityapplication/vnd.sas.authorization.capability;version=1application/vnd.sas.authorization.capability;version=2
Default:
application/vnd.sas.authorization.capability;version=2

Responses

StatusMeaningDescription
200OKOKHeadersSchema
404Not FoundNo capability with the specified name has been foundSchema