Skip Navigation Links | |
Exit Print View | |
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Example request to get system updates:
GET /api/system/v1/updates HTTP/1.1 Authorization: Basic abcefgMWE= Host: zfssa.example.com:215 Accept: application/json
Example Response:
HTTP/1.1 200 OK X-Zfssa-Appliance-Api: 1.0 Content-Length: 541 Content-Type: application/json { "updates": [ { "date": "Tue Aug 13 2013 17:47:32 GMT+0000 (UTC)", "href": "/api/system/v1/updates/nas@2013.08.13,1-0", "status": "previous", "version": "2013.08.13,1-0" }, { "date": "Sat Aug 24 2013 17:54:23 GMT+0000 (UTC)", "href": "/api/system/v1/updates/nas@2013.08.24,1-0", "status": "current", "version": "2013.08.24,1-0" }, { "date": "Sun Aug 25 2013 12:56:57 GMT+0000 (UTC)", "href": "/api/system/v1/updates/nas@2013.08.25,1-0", "status": "waiting", "version": "2013.08.25,1-0" }] }