Skip Navigation Links | |
Exit Print View | |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Lists all of the initiators configured on the appliance of a specified protocol type. The response body contains an array of initiator properties named “initiators” in JSON format.
Example Request to List iSCSI Initiators:
GET /api/san/v1/iscsi/initiators HTTP/1.1 Host: zfs-storage.example.com Accept: application/json
Example Response:
HTTP/1.1 200 OK Content-Type: application/json { "initiators": [{ "alias": "init-02", "href": "/api/san/v1/iscsi/initiators/iqn.1986-03.com.sun:02:02", "initiator": "iqn.1986-03.com.sun:02:02", "chapsecret": "", "chapuser": "" },{ "alias": "init-01", "initiator": "iqn.1986-03.com.sun:02:01", "href": "/api/san/v1/iscsi/initiators/iqn.1986-03.com.sun:02:01", "chapsecret": "", "chapuser": "" }] }