... | @@ -12,6 +12,8 @@ |
... | @@ -12,6 +12,8 @@ |
|
|
|
|
|
- Updating or creating an entity should return the entity if discreet (i.e. tagging an asset will not return the tag or the asset but creating a tag will return the tag).
|
|
- Updating or creating an entity should return the entity if discreet (i.e. tagging an asset will not return the tag or the asset but creating a tag will return the tag).
|
|
|
|
|
|
|
|
### Standards for KD Core API
|
|
|
|
|
|
|
|
|
|
| HTTP | Route | Action |
|
|
| HTTP | Route | Action |
|
|
| -------- | ---------------------- | ------------------------- |
|
|
| -------- | ---------------------- | ------------------------- |
|
... | @@ -19,6 +21,7 @@ |
... | @@ -19,6 +21,7 @@ |
|
|`GET` | `/resources` | get resource collection|
|
|
|`GET` | `/resources` | get resource collection|
|
|
|`GET` | `/resources?filter=:filter_param` | get filtered resource collection|
|
|
|`GET` | `/resources?filter=:filter_param` | get filtered resource collection|
|
|
|`GET` | `/resources/:id` | get single resource|
|
|
|`GET` | `/resources/:id` | get single resource|
|
|
|
|
|`GET` | `/resources/:id:(extra-property1)` | get single resource, requesting extra property|
|
|
|`DELETE` | `/resources/:id` | delete single resource|
|
|
|`DELETE` | `/resources/:id` | delete single resource|
|
|
|`DELETE` | `/resources/:id?recursive=:boolean` | delete single resource, additional parameters in `GET` string|
|
|
|`DELETE` | `/resources/:id?recursive=:boolean` | delete single resource, additional parameters in `GET` string|
|
|
|`PATCH` | `/resources/:id` | update resource|
|
|
|`PATCH` | `/resources/:id` | update resource|
|
... | @@ -27,3 +30,4 @@ |
... | @@ -27,3 +30,4 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
:(extra-property1 |
|
|
|
\ No newline at end of file |