Skip to main content

Add Controller for mount path

This operation Adds a controller for a mount path.

Query Parameters
  • Action string required
Request Body
  • mountpathId integer
  • infoList object[]
  • numWriters integer

    Default value: -1

    Maximum allowed writers

  • opType integer

    Operation Type with 1(Add) 2(Edit) 3(Delete)

  • protocolType integer
  • deviceId integer
  • enabled integer
  • accessType integer

    Device Controller Access Type. 14(Read/Write) 12(Read)

  • path string
  • deviceControllerId integer
  • mediaAgent object
  • name string
  • id integer
Responses

OK

POST /drivecontroller    

Authorization

type: apiKeyname: Authtokenin: header

Request

Click Edit to configure Base URL
https://CommandCenterHostName/commandcenter/api
Security Scheme
token
Action — query required
Body

{
"mountpathId": 0,
"infoList": [
{
"numWriters": -1,
"opType": 0,
"protocolType": 0,
"deviceId": 0,
"enabled": 0,
"accessType": 0,
"path": "string",
"deviceControllerId": 0,
"mediaAgent": {
"name": "string",
"id": 0
}
}
]
}
curl -L -X POST 'https://CommandCenterHostName/commandcenter/api/DriveController' \
-H 'Content-Type: application/json' \
-H 'Authtoken: <API_KEY_VALUE>' \
--data-raw '{
"mountpathId": 0,
"infoList": [
{
"numWriters": -1,
"opType": 0,
"protocolType": 0,
"deviceId": 0,
"enabled": 0,
"accessType": 0,
"path": "string",
"deviceControllerId": 0,
"mediaAgent": {
"name": "string",
"id": 0
}
}
]
}'