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!"
}

Last updated

Was this helpful?