Saturday, December 24, 2016
All API calls to endpoints require an access_token. Check the authentication section to know how to get one.
POSToauth Request an
access_tokenfor a user.
POSToauth Get an
access_tokenthat identifies an application itself.
POSToauth Refresh an
GETcomments/:quote_id Get information about comments posted on a quote.
PUTcomments/:id Update a comment.
POSTcomments/:quote_id Create a new comment.
DELETEcomments/:id Delete a comment. The comment must have been posted by the logged in user.
GETcomments/:id Get information about a single comment.
GETcomments/users/:user_id Get comments posted by a user.
GETcountries Get information about all countries.
GETcountries/:id Get information about a country.
POSTfavorites/:id Add a quote in the user's favorites.
DELETEfavorites/:id Remove a quote from the user's favorites.
POSTpassword/remind Ask for a reset password token.
POSTpassword/reset Reset a password using a reset token.
GETquotes Get information about multiples quotes.
POSTquotes Submit a new quote.
GETquotes/random Get information about multiples quotes randomly ordered.
GETquotes/top_favorites Get information about the most favorited quotes, in a descending order.
GETquotes/top_comments Get information about the most commented quotes, in a descending order.
GETquotes/:id Get information about a single quote.
GETquotes/favorites/:user_id Returns information about favorites quotes for a given user ID.
GETquotes/:approved_type/:user_id Returns information about quotes for a given user ID and an approved quotes' status.
GETquotes/search/:query Returns information about published quotes for a search query.
POSTusers Create a new user.
DELETEusers Delete the logged in user.
GETusers Get information about the logged in user.
GETusers/:id Get information about a single user.
PUTusers/password Update the password of the user.
PUTusers/profile Update the profile of the user.
PUTusers/settings Update the settings of the user.
GETusers/search/:query Search users with a query based on their username. Returns only not hidden profiles.
GETsearch/:query Search published quotes and users with a query of words. Users are displayed only if their profile is not hidden.
GETstories Get information about multiples stories.
POSTstories Create a new story.
GETstories/:id Get information about a single story.
Contact Antoine Augusti at [email protected]
Powered by Codex 1.1.0