| Skip Navigation Links | |
| Exit Print View | |
|
Oracle® ZFS Storage Appliance RESTful Application Programming Interface |
Creates a worksheet dataset.
Example Request:
POST /api/analytics/v1/worksheets/name=myworksheet/datasets HTTP/1.1
Authorization: Basic ab6rt4psMWE=
Content-Type: application/json
Content-Length: 26
{"name": "nfs4.ops", "seconds": 300}
Example Results:
HTTP/1.1 201 Created
Content-Type: application/json
X-Zfssa-Analytics-Api: 1.0
Location: /api/analytics/v1/worksheets/name=me/datasets/nfs4.ops
Content-Length: 162
{
"dataset": {
"href": "/api/analytics/v1/worksheets/name=me/datasets/dataset-008",
"name": "nfs4.ops",
"width": 0,
"drilldowns": [],
"seconds": 300,
"time": ""
}
}