Skip Navigation Links | |
Exit Print View | |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Chapter 2 Working with the API
Chapter 3 Alert Service Commands
Chapter 8 Problem Service Commands
Lists all of the replication packages from the specified replication source.
Example Request:
GET /api/storage/v1/replication/sources/zfssa-repl/packages HTTP/1.1 Host: zfs-storage.example.com Accept: application/json
Example Result:
HTTP/1.1 200 OK X-Zfssa-Replication-Api: 1.0 Content-Type: application/json Content-Length: 529 { "packages": [{ "enabled": true, "href": "/api/v1/storage/replication/sources/zfssa-repl/packages/package-008", "id": "b2d8b35a-a5a0-6c74-f7e9-b75c357e841f", "last_result": "unknown", "last_sync": "unknown", "last_try": "unknown", "state": "idle", "state_description": "Idle (no update in progress)" }, { "enabled": true, "href": "/api/storage/v1/replication/sources/zfssa-repl/packages/package-009", "id": "2643a0eb-648d-6ad7-d405-b690d06f6cf6", "last_result": "success", "last_sync": "Wed Jul 31 2013 21:58:02 GMT+0000 (UTC)", "last_try": "Wed Jul 31 2013 21:58:02 GMT+0000 (UTC)", "state": "idle", "state_description": "Idle (no update in progress)", "project": "gold/nas-rr-2643a0eb-648d-6ad7-d405-b690d06f6cf6/default", } ]}