spec: document route deletion
Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
+19
-2
@@ -288,14 +288,31 @@ TODO
|
||||
|
||||
#### Delete a route
|
||||
* **URL**
|
||||
|
||||
`/routes/:id`
|
||||
|
||||
* **Method**
|
||||
* **URL Params**
|
||||
* **Data Params**
|
||||
|
||||
`DELETE`
|
||||
|
||||
* **Success Response**
|
||||
|
||||
* **Code**: `200 OK`<br />
|
||||
**Content**: TODO
|
||||
|
||||
* **Error Response**
|
||||
|
||||
* **Code**: `404 Not Found`<br />
|
||||
**Header**: `Content-Type: application/json`<br />
|
||||
**Content**: `{ "error": "Unknown route", "route_id": "{{ :id }}" }`
|
||||
|
||||
|
||||
* **Sample Call**
|
||||
TODO
|
||||
|
||||
* **Notes**
|
||||
|
||||
|
||||
### Handlers
|
||||
|
||||
#### Get the value for a handler key
|
||||
|
||||
Reference in New Issue
Block a user