/api/space/user-management/tasks

The following operation is supported on this resource:

  • GET - Get all tasks
GET /tasks Version 1

This API is used to retrieve all the tasks. Tasks are leaf menu items in the Junos Space Menu Navigator.

Sample Usage

GET /tasks


  • Sample Output XML:
    <tasks size="2" uri="/api/space/user-management/tasks" >
      <task key="78"
        uri="/api/space/user-management/tasks/78"
        href="/api/space/user-management/tasks/78">
        <name>UserMgt</name>
        <title>String</title>
        <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>
        <capability-name>String</capability-name>
      </task>
      <task key= "80" uri="/api/space/user-management/tasks/80">
        <name>createUser</name>
        <title>String</title>
        <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>
        <capability-name>String</capability-name>
      </task>
    </tasks>

  • Sample Output JSON:
    {
      "tasks": {
          size="2"
          "uri":"/api/space/user-management/tasks",
          "task": [
              {
                "@key:"78"" ,
                "@uri": "/api/space/user-management/tasks/78",
                "@href": "/api/space/user-management/tasks/78",
                "name": "UserMgt"
                 "title" : "String" ,
                 "hidden-task" : "Boolean" ,
                 "workspace-name" : "String" ,
                 "workspace-title" : "String" ,
                 "module-name" : "String" ,
                 "module-title" : "String" ,
                 "parent-task-name" : "String" ,
                 "capability-name" : "String"
              },
              {
                "@key:"80"" ,
                "@uri": "/api/space/user-management/tasks/80",
                "name": "createUser"
                 "title" : "String" ,
                 "hidden-task" : "Boolean" ,
                 "workspace-name" : "String" ,
                 "workspace-title" : "String" ,
                 "module-name" : "String" ,
                 "module-title" : "String" ,
                 "parent-task-name" : "String" ,
                 "capability-name" : "String"
              }
          ]
      }
    }

  • Access Control

    The following capabilities are required to access this API: DefaultRead, CreateRole, ModifyRole