/api/space/user-management/roles/{role-id}/tasks

The following operation is supported on this resource:

  • GET - Get tasks for a given role
GET /roles/{role-id}/tasks Version 3

Get tasks for a given role.

Sample Usage

GET /roles/{role-id}/tasks


  • Parameters:
    Name Type URI Type Description Required
    role-id Integer Path Role ID Y
  • Sample Output XML:
    <tasks total="Integer" uri="/api/space/user-management/roles/{role-id}/tasks">
         <task href="/api/space/user-management/tasks/{id}" uri="/api/space/user-management/roles/{role-id}/tasks/{id}">
               <id>Integer</id>
               <name>String</name>
               <title>String</title>
               <capability-name>String</capability-name>
               <hidden-task>Boolean</hidden-task>
               <workspace-name>String</workspace-name>
               <workspace-title>String</workspace-title>
               <module-name>String</module-name>
               <module-title>String</module-title>
               <parent-task-name>String</parent-task-name>
         </task>
    </tasks>

  • Sample Output JSON:
    {
       "tasks" : {
         "@total" : "Integer" ,
         "@uri" : "/api/space/user-management/roles/{role-id}/tasks" ,
         "task" : {
           "@href" : "/api/space/user-management/tasks/{id}" ,
           "@uri" : "/api/space/user-management/roles/{role-id}/tasks/{id}" ,
           "id" : "Integer" ,
           "name" : "String" ,
           "title" : "String" ,
           "capability-name" : "String" ,
           "hidden-task" : "Boolean" ,
           "workspace-name" : "String" ,
           "workspace-title" : "String" ,
           "module-name" : "String" ,
           "module-title" : "String" ,
           "parent-task-name" : "String"
         }
       }
    }

  • Access Control

    The following capabilities are required to access this API: ReadRole, ReadUser