spec: document route deletion

Co-authored-by: Roberto Abdelkader Martínez Pérez <robertomartinezp@gmail.com>
This commit is contained in:
pancho horrillo
2019-05-21 13:10:40 +02:00
parent 86da4dbce7
commit 8dbb3fb764
+19 -2
View File
@@ -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