List Permissions of an Item

get

/content/management/api/v1.1/items/{id}/permissions

Lists all permissions (allowed actions) of a given item.

Request

Path Parameters
Query Parameters
Back to Top

Response

Supported Media Types

200 Response

OK.
Body ()
Root Schema : ItemSubResourceListAction
Type: object
Item SubResource.
Show Source
Nested Schema : data
Type: array
Show Source
Nested Schema : Action
Type: object
Action
Show Source

304 Response

Not modified.

400 Response

Bad request.

403 Response

Forbidden.

404 Response

Not found.

500 Response

Internal server error.
Back to Top

Examples

The following example shows how to list permissions (allowed actions) of an item.

curl -i -X GET -H 'Accept:application/json' 'https://host:port/content/management/api/v1.1/items/{id}/permissions'

Example

This lists all permissions (allowed actions) of item with id CORED98388F2AA724E27844821414B0B0447.

/content/management/api/v1.1/items/CORE4FDEB4C45AF34766B8CB88D25BD92D90/permissions

Response Body

{
	    "data": [
	        {
	            "action": "view"
	        },
	        {
	            "action": "update"
	        },
	        {
	            "action": "create"
	        },
	        {
	            "action": "delete"
	        }
	    ],
	    "links": [
	        {
	            "href": "http://<hostname>/content/management/api/v1.1/items/CORE4FDEB4C45AF34766B8CB88D25BD92D90/permissions",
	            "rel": "self",
	            "method": "GET",
	            "mediaType": "application/json"
	        }
	    ]
      }    
Back to Top