Changed spec, URL parameters specified by curly brackets instead of colon
This commit is contained in:
+4
-4
@@ -325,9 +325,9 @@ A new id is created for the appended route so it can be referenced later.
|
|||||||
|
|
||||||
#### Delete a route
|
#### Delete a route
|
||||||
|
|
||||||
Removes the route identified by `:id`.
|
Removes the route identified by `{id}`.
|
||||||
|
|
||||||
* **URL**: `/routes/:id`
|
* **URL**: `/routes/{id}`
|
||||||
* **Method**: `DELETE`
|
* **Method**: `DELETE`
|
||||||
* **Success Responses**:
|
* **Success Responses**:
|
||||||
* **Code**: `204 No Content`
|
* **Code**: `204 No Content`
|
||||||
@@ -342,9 +342,9 @@ Removes the route identified by `:id`.
|
|||||||
|
|
||||||
#### Retrieve route information
|
#### Retrieve route information
|
||||||
|
|
||||||
Retrieves the information about the route identified by `:id`.
|
Retrieves the information about the route identified by `{id}`.
|
||||||
|
|
||||||
* **URL**: `/routes/:id`
|
* **URL**: `/routes/{id}`
|
||||||
* **Method**: `GET`
|
* **Method**: `GET`
|
||||||
* **Success Responses**:
|
* **Success Responses**:
|
||||||
* **Code**: `200 OK`<br />
|
* **Code**: `200 OK`<br />
|
||||||
|
|||||||
Reference in New Issue
Block a user