XTools/API/Quote
Appearance
The XTools Quote API provides endpoints related to IRC/Quotes.
Interactive OpenAPI docs are at xtools.wmcloud.org/api These on-wiki docs are meant to supplement it. |
Random quote
GET
/api/quote/randomGet a random bash quote.
Examples
Get a random bash quote:
- https://xtools.wmflabs.org/api/quote/random
Single quote
GET
/api/quote/{id}Get a quote by ID.
Examples
Get the quote with the ID of 5:
- https://xtools.wmflabs.org/api/quote/5
All quotes
GET
/api/quote/allGet all available quotes.
Examples
Get all available quotes:
- https://xtools.wmflabs.org/api/quote/all