... | ... | @@ -14,6 +14,8 @@ |
|
|
|
|
|
### Standards for KD Core API
|
|
|
|
|
|
_Note:_ __due to the nature of the `bundle` architecture, our resources are namespaced by design. This can lead to the acceptable consequence of having a route that is structured like `namespace/resources` or `namespace-is-the-resource`.
|
|
|
|
|
|
|
|
|
| HTTP | Route | Action |
|
|
|
| -------- | ---------------------- | ------------------------- |
|
... | ... | @@ -26,4 +28,4 @@ |
|
|
|`DELETE` | `/resources/{id}?parameter={value}` | delete single resource, additional parameters in `GET` string (for example: `recursive=1`) |
|
|
|
|`PATCH` | `/resources/{id}` | update resource, properties in json payload|
|
|
|
|`POST` | `/resources/{id}/link` | link resource to specified resource(s), in json payload []|
|
|
|
|`POST` | `/resources/{id}/unlink` | unlink resource to specified resource(s), in json payload []| |
|
|
|`POST` | `/resources/{id}/unlink` | unlink resource to specified resource(s), in json payload []| |
|
|
\ No newline at end of file |