/api/space/user-management/capabilities/{id}

The following operation is supported on this resource:

  • GET - Get a single capability
GET /capabilities/{id} Version 1

Get a single capability.

Sample Usage

GET /capabilities/{id}


  • Parameters:
    Name Type URI Type Description Required
    id int Path The ID of the capability for which the information will be retrieved. Y
  • Sample Output XML:
    <capability uri="/api/space/user-management/capabilities/65559">
     <id>65559</id>
     <name>CreateUser</name>
     <title>Create User</title>
     <tasks uri="/api/space/user-management/capabilities/65559/tasks">
      <task uri="/api/space/user-management/capabilities/65559/tasks/65620"
        href="/api/space/user-management/tasks/65620">
        <id>65620</id>
        <name>createUser</name>
       </task>
      </tasks>
     <roles uri="/api/space/user-management/capabilities/65559/roles">
      <role uri="/api/space/user-management/capabilities/65559/roles/65595"
       href="/api/space/user-management/roles/65595">
        <id>65595</id>
        <name>userAdmin</name>
       </role>
     </roles>
    </capability>

  • Sample Output JSON:
    {
      "capability": {
          "@uri": "/api/space/user-management/capabilities/65559",
          "id":65559,
          "name":"CreateUser",
          "title":"Create User",
          "tasks": {
                "@uri": "/api/space/user-management/capabilities/65559/tasks",
                "task": {
                   ;    "@uri": "/api/space/user-management/capabilities/65559/tasks/65620",
                   ;    "@href":"/api/space/user-management/tasks/65620",
                   ;    "id":65620,
                   ;    "name":"createUser"
                }
          }
          "roles": {
                "@uri": "/api/space/user-management/capabilities/65559/roles",
                "role": {
                   ;   "@uri": "/api/space/user-management/capabilities/65559/roles/65595",
                   ;   "@href":"/api/space/user-management/roles/65595",
                   ;   "id":65595,
                   ;   "name":"userAdmin"
                }
          }
      }

  • Access Control

    The following capabilities are required to access this API: DefaultRead