Resources¶
Resource types¶
Retrieve list of resource types¶
- GET /resource¶
Produces: - application/xml, application/json – ResourceTypeListDocument
- text/plain – CRLF-delimited list of resource type URLs ( /resource/ { resource-type })
Role: _resource_read
Resources¶
Retrieve list of resources¶
- GET /resource/(resource-type)¶
Produces: - application/xml, application/json – ResourceListDocument
- text/plain – CRLF-delimited list of resource URLs ( /resource/ { resource-type } / { resource-id })
Role: _resource_read
Create resources¶
- POST /resource¶
- POST /resource/(resource-type)¶
Create a new resource.
Accepts: - application/xml, application/json – ResourceDocument
Produces: - application/xml, application/json – ResourceDocument
- text/plain – Resource URL
Role: _resource_write
Modify resource¶
- PUT /resource/(resource-type)/(resource-id)¶
Updates an existing resource.
Accepts: - application/xml, application/json – ResourceDocument
Produces: - application/xml, application/json – ResourceDocument
- text/plain – Resource URL
Role: _resource_write
Get resource¶
- GET /resource/(resource-type)/(resource-id)¶
Produces: - application/xml, application/json – ResourceDocument
Role: _resource_read
Delete resource¶
- DELETE /resource/(resource-type)/(resource-id)¶
Deletes the resource. All connection from other resources to the resource will become invalid.
Role: _resource_write
Resource status¶
Get resource status on list of resources¶
- GET /resource/(resource-type)/status¶
Produces: - text/plain – CRLF-delimited list of Tabbed tuples s: resource URL, status
Role: _resource_read
Get resource status¶
- GET /resource/(resource-type)/(resource-id)/status¶
Produces: - text/plain – Status string
Role: _resource_read
Modify resource status¶
- PUT /resource/(resource-type)/(resource-id)/status¶
Accepts: - text/plain – New status
Produces: - application/xml, application/json – ResourceDocument
- text/plain – Status string
Role: _resource_write