Skip to main content

We've Moved!

Product Documentation has moved to docs.hitachivantara.com
Hitachi Vantara Knowledge

Get services

Gets a list of all services that can run on the NAS storage device.

HTTP request syntax (URI)
GET <base_URI>/v8/storage/file-devices/services
Return codes
Code Data Description
200 servicesList of services retrieved successfully.
500 Error message Error associated with the storage system.

Any HTTP status code other than 200 indicates that the API did not complete successfully.

Request example
curl -vk -H "X-Api-Key: zrxvSDAv9x.RIP4gkmKarG3beF.or.4Tc2im7oeqYN88C9XPGHxbXC" https://172.17.11.11:8444/v8/storage/file-devices/services
Response example
HTTP/1.1 200 OK
{
  "services": [
    {
      "isEnabled": true,
      "name": "NFS",
      "serviceId": 0
    },
    {
      "isEnabled": true,
      "name": "FTP",
      "serviceId": 1
    },
    {
      "isEnabled": true,
      "name": "CIFS",
      "serviceId": 2
    },
    {
      "isEnabled": true,
      "name": "ISCSI",
      "serviceId": 4
    },
    {
      "isEnabled": true,
      "name": "CNS",
      "serviceId": 5
    },
    {
      "isEnabled": true,
      "name": "READ_CACHE",
      "serviceId": 6
    }
  ]
}

 

  • Was this article helpful?