| Skip Navigation Links | |
| Exit Print View | |
|
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Lists all of the target groups available for an appliance. On success, HTTP Status 200 (OK) is returned and the body contains a JSON object with a property named "groups" that contains an array of target group objects.
Example Request:
GET /api/san/v1/iscsi/target-groups Host: zfs-storage.example.com:215 Authorization: Basic abcd123MWE= Accept: application/json
Example Response:
HTTP/1.1 200 OK
Content-Type: application/json
Content-Length: 237
{
"groups": [{
"href": "/api/san/v1/iscsi/target-groups/test-group",
"name": "test-group",
"targets": [
"iqn.1986-03.com.sun:02:31d26d2e-6aa0-6054-fe58-8b1fb508b008"
]
}, {
"href": "/api/san/v1/iscsi/target-groups/alt-group",
...
}]
}