REST API  4.0.0
REST API for SafeNet Network HSMs
GET /tasks

GET /tasks

Gets all tasks created in current session with REST API.

Parameters

None

Responses

200

A list of all tasks created on the appliance during the current REST API session. The list includes unique identifiers that can be used to get more specific information.

JSON Schema: Tasks

400

Unexpected error

Example Request

   GET 
   https://1.2.3.4:8443/tasks

Example Result

{
    "tasks": [
        {
            "finishTime": "2015-07-11T07:23:54Z",
            "instance": "/tasks/22",
            "sourceUrl": "/api/lunasa/hsms/151256/login",
            "startTime": "2015-07-11T07:23:49Z",
            "state": "Finished",
            "details": ""
        },
        {
            "finishTime": "2015-07-11T07:24:10Z",
            "instance": "/tasks/23",
            "sourceUrl": "/api/lunasa/hsms/700088/login",
            "startTime": "2015-07-11T07:24:05Z",
            "state": "Finished",
            "details": ""
        }
    ]
}

See Also

GET /tasks/{taskid}