kpbrandt.com API
bart
bs
confucius
quotes
list
Return all quotes, paginated
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
page | A page number within the paginated result set. |
create
Create a new quote.
Request Body
The request body should be a "application/x-www-form-urlencoded"
encoded object, containing the following items.
Parameter | Description |
---|---|
phrase required | |
author required |
read
Returns a specific quote.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this quotes. |
update
Updates a specific quote.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this quotes. |
Request Body
The request body should be a "application/x-www-form-urlencoded"
encoded object, containing the following items.
Parameter | Description |
---|---|
phrase required | |
author required |
delete
Delete a quote.
Path Parameters
The following parameters should be included in the URL path.
Parameter | Description |
---|---|
id required | A unique integer value identifying this quotes. |
reversed
list
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
string required |
weather
list
Query Parameters
The following parameters should be included as part of a URL query string.
Parameter | Description |
---|---|
city required | |
state required |