Go to main content

Oracle® ZFS Storage Appliance RESTful API Guide, Release OS8.7.x

Exit Print View

Updated: December 2017
 
 

Service Resources

Some services have sub-resources. See the data returned for each service or the list of service commands to see what sub-resources are available.

Table 60  Service Sub Resource Commands
Request
Path
Description
GET
/services/<service>/<resource>
List service sub-resource
PUT
/services/<service>/<resource>/<href>
Modify sub-resource
POST
/services/<service>/<resource>
Create a new sub-resource
DELETE
/services/<service>/<resource>/<href>
Destroy an sub-resource

Each of these commands follow the same pattern as other RESTful API commands where GET is used to list or get a specified sub-resource type, POST is used to create a new sub-resource type, PUT is used to modify the sub-resource and DELETE is used to destroy the specified sub-resource.

For a list of sub-resources and properties and commands available for each sub-resource, see the CLI “configuration services” documentation.