Romanian Jokes API Docs
  • Welcome to Romanian Jokes API Documentation
  • GET - API Endpoint
  • GET - Romanian Joke
  • GET - API Current Version
  • GET - All Romanian Jokes
  • GET - Romanian Jokes Count
  • GET - Random 10 Jokes
  • GET - Joke Categories
  • GET - A Specific Joke
  • GET - All Jokes Filtered by Category
  • GET - A Random Joke Within Specific Category
Powered by GitBook
On this page

Was this helpful?

GET - A Random Joke Within Specific Category

➡️ This will be the endpoint in retrieving a random Romanian joke filtered by a specific category

Get a random Romanian joke filtered by a specific category

GET https://romanian-jokes-api.herokuapp.com/v1/romanianjokes/filter/:joketype/random

This endpoint allows you to get a random Romanian joke filtered by a specific category

Path Parameters

Name
Type
Description

/romanianjokes

string

Obligatory path

/filter

string

Path towards the joke filtering

/random

string

Path towards the random function

Query Parameters

Name
Type
Description

joketype

string

A specific existing joke category

{
    "id": 110,
    "joketype": "seci",
    "joke": "Doi scheleți se trag de piele!"
}
{
    "message": "This joke type could not be found in the jokes list"
}

PreviousGET - All Jokes Filtered by Category

Last updated 3 years ago

Was this helpful?