Jokes

APIDescription
GET API/Jokes/AllLiked

Gets all jokes liked by the current user.

GET API/Jokes/RandomLiked

Gets a random joke liked by the current user.

GET API/Jokes/Top?top={top}

Gets the top most liked jokes.

GET api/Jokes?isClean={isClean}

Gets a random joke.

GET api/Jokes/{id}

Gets a joke by its ID.

GET api/Jokes?query={query}&page={page}&resultsPerPage={resultsPerPage}

Gets a collection of jokes that contain the query word(s).

POST api/Jokes

Adds a new joke to the database. Requires a special permission.