Resource URL: /platform/<<version=3>>/protocols/ndmp/contexts/restore

    Overview: This resource applies to manage NDMP restore contexts.

     Methods: GET

********************************************************************************

Method GET: Get List of NDMP Restore Contexts.

       URL: GET /platform/<<version=3>>/protocols/ndmp/contexts/restore

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "description": "Get NDMP Context List", 
  "properties": {
    "contexts": {
      "type": "array", 
      "properties": {
        "status": {
          "type": "string", 
          "description": "Whether the context is active."
        }, 
        "total_sessions": {
          "type": "integer", 
          "description": "The number of sessions in the context"
        }, 
        "context_id": {
          "type": "string", 
          "description": "Context ID"
        }, 
        "start_time": {
          "type": "time", 
          "description": "Context creation time"
        }, 
        "snapid": {
          "type": "integer", 
          "description": "Snapshot ID reserved for the context. This is not applicable to restore contexts."
        }, 
        "path": {
          "type": "string", 
          "description": "The directory of the backup. This is not applicable to restore contexts."
        }, 
        "type": {
          "type": "string", 
          "description": "Type of context; It can be bre, backup, and restore"
        }, 
        "id": {
          "type": "string", 
          "description": "Unique display id."
        }
      }
    }, 
    "total": {
      "type": "integer", 
      "description": "The number of ndmp contexts."
    }, 
    "resume": {
      "type": "string", 
      "description": "Resume string returned by previous query."
    }
  }
}
