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
Creates a new schema property.
Example Request:
POST /api/storage/v1/schema HTTP/1.1 Host: zfssa.example.com:215 Content-Type: application/json Content-Length: 64 {"property":"priority", "type":"Integer", "description":"Oh my"}
Example Result:
HTTP/1.1 201 Created Content-Length: 89 X-Zfssa-Nas-Api: 1.0 Content-Type: application/json Location: /api/storage/v1/schema/priority { "property": { "href": "/api/storage/v1/schema", "type": "Integer", "description": "Oh my" } }