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

    Overview: Gives a list of NDMP administrators.

     Methods: GET, POST

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

Method GET: List all ndmp administrators.

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

There are no query arguments for this method.

GET response body schema:
{
  "type": "object", 
  "properties": {
    "total": {
      "type": "integer", 
      "description": "Total number of items available."
    }, 
    "users": {
      "items": {
        "type": "object", 
        "properties": {
          "id": {
            "type": "string", 
            "description": "Unique display ID."
          }, 
          "name": {
            "type": "string", 
            "description": "A unique user name for NDMP administrator."
          }
        }
      }, 
      "type": "array"
    }
  }
}

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

Method POST: Created a new user.

        URL: POST /platform/<<version=3>>/protocols/ndmp/users

There are no query arguments for this method.

Required POST request body fields:
password, name

POST request body schema:
{
  "type": "object", 
  "properties": {
    "password": {
      "required": true, 
      "type": "string", 
      "description": "The password for the NDMP administrator."
    }, 
    "name": {
      "required": true, 
      "type": "string", 
      "description": "A unique user name for NDMP administrator."
    }
  }
}

POST response body schema:
{
  "type": [
    "null", 
    "object"
  ], 
  "description": "Null or any empty JSON object.", 
  "properties": {}
}
