1
2
3
4
5
| {
"Name": "RESTable.Admin.Resource",
"Kind": "EntityResource",
"Methods": ["GET", "PATCH", "REPORT", "HEAD"]
}
|
Resource is a meta-resource that contains entities that correspond to the resources currently registered in the REST API. All resources have a Resource entity describing it.
| Property name |
Type |
Description |
| Name |
string (read-only) |
The name of the resource |
| Alias |
string |
The alias of the resource, if any |
| Description |
string (read-only) |
The description of the resource |
| EnabledMethods |
array of Method (read-only) |
The methods that are enabled for the resource |
| Editable |
boolean (read-only) |
Is this resource editable? |
| IsInternal |
boolean (read-only) |
Is this resource only available internally? |
| Type |
string (read-only) |
The .NET type registered for this resource |
| Views |
array of ViewInfo(read-only) |
The views registered for this resource |
| Provider |
string (read-only) |
The name of the ResourceProvider that generated this resource |
| Kind |
ResourceKind (read-only) |
The kind of the resource, for example EntityResource |
| InnerResources |
array if Resource (read-only) |
Resources declared within the scope of this resource |