BasicQuotes
Quotes
These are authenticated endpoints. You can visit authentication to register an account.
These endpoints allow you to retrieve all quotes, a single quote by its id, or a random quote. The response will be an array of JSON objects if you request all quotes, or a single JSON object if you request a single quote or a random quote.
The Quote model
Prop | Type | Default |
---|---|---|
id | integer | - |
content | string | - |
author | string | - |
tags | Array<string> | - |
authorId | string | - |
authorSlug | string | - |
length | integer | - |
All quotes
GET/quotes
Retrieve all quotes.
Single quote
GET/quotes/<id>
Retrieve a single quote by its id.
Random quote
GET/quotes/random
Retrieve a random quote.