Resource
Represents an API resource.
Links
Relation | Description | Method | Templated |
---|---|---|---|
self | A relation that refers to the current resource. |
GET | No |
resource:update | Update an API resource represented by a Resource instance only. |
PATCH | No |
resource:delete | Deletes an API resource represented by a Resource instance. |
DELETE | No |
resource:create-child | Creates a child API resource of a given API resource. |
POST | No |
method:by-http-method | Gets the method (as a Method resource) on a specified API resource (as Resource resource) of the given HTTP method type. This link relation offers the following templated variable(s):
|
GET | Yes |
method:put | Create a Method resource on a specified Resource resource. This link relation offers the following templated variable(s):
|
PUT | Yes |
resource:methods | Gets an API resource's method of a given HTTP verb. |
GET | No |
Properties
{
"id" : "String",
"parentId" : "String",
"pathPart" : "String",
"path" : "String"
}