This command gets the details from a single service including its state and its configuration.
Example Request:
GET /api/service/v1/services/ndmp HTTP/1.1 Host: zfs-storage.example.com Accept: application/json
Example Response:
HTTP/1.1 200 OK Content-Type: application/json { "service": { "cram_md5_password": "", "cram_md5_username": "", "dar_support": true, "default_pools": [], "drive_type": "sysv", "href": "/api/service/v1/services/ndmp", "ignore_ctime": false, "name": "ndmp", "restore_fullpath": false, "status": "online", "tcp_port": 10000, "version": 4, "zfs_force_override": "off", "zfs_token_support": false } }