HP OneView REST API Reference

authz
authz.html[10/17/2013 10:36:01 AM]
],
"count":2,
"total":2,
"start":0,
"prevPageUri":null,
"nextPageUri":null,
"uri":null,
"category":"authorization",
"eTag":null,
"created":null,
"modified":null
}
URI: /rest/authz/role-category-actions
Method API
GET Gets the list of all roles and associated category and actions from the database.
Request
Header
Attributes Description
REST API Request Headers NOTE: The X-API-Version header is required for all APIs. For the
current release, this must be set to "X-API-Version:3"
Response Description
Map<String,Map> Returns the list of all roles and associated category
and
actions.
Response Codes
REST API Response Codes
Examples
REQUEST-TYPE: GET
URI: https://{appl}/rest/authz/role-category-actions
Example:
Gets the list of all roles and associated category
and actions from the database
https://example.net/rest/authz/role-category-actions
Response Body:
{
"Backup administrator":
{
"backups":["Delete","Read","Create"],"activities":
["Read"]
,
"tasks":["Read"],"appliance":["Read"]
},
"Infrastructure administrator":
{
"grouptorolemappings":
["Delete","Update","Read","Create"],