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 #### Delete a route
* **URL** * **URL**
`/routes/:id`
* **Method** * **Method**
* **URL Params**
* **Data Params** `DELETE`
* **Success Response** * **Success Response**
* **Code**: `200 OK`<br />
**Content**: TODO
* **Error Response** * **Error Response**
* **Code**: `404 Not Found`<br />
**Header**: `Content-Type: application/json`<br />
**Content**: `{ "error": "Unknown route", "route_id": "{{ :id }}" }`
* **Sample Call** * **Sample Call**
TODO
* **Notes** * **Notes**
### Handlers ### Handlers
#### Get the value for a handler key #### Get the value for a handler key