GET - All Jokes Filtered by Category
➡️ This will be the endpoint in retrieving Romanian jokes filtered by their respective categories
Get all the jokes filtered by category
GET
https://romanian-jokes-api.herokuapp.com/v1/romanianjokes/filter/:joketype
This endpoint allows you to get all the existing jokes filtered by their respecting categories
Path Parameters
Name
Type
Description
/romanianjokes
string
Obligatory path
/filter
string
Path towards the joke filtering
Query Parameters
Name
Type
Description
joketype
string
The joke category you want to filter (must be a valid joke category)
[
{
"id": 30,
"joketype": "seci",
"joke": "De ce are rinocerul corn? Pentru că nu a găsit chiflă."
},
{
"id": 31,
"joketype": "seci",
"joke": "Ce trebuie să îi faci unui hipopotam care are diaree? Loc!"
},
{
"id": 32,
"joketype": "seci",
"joke": "Cum se uită o raţă în beci? Iei raţa, o duci în beci şi o uiţi acolo."
},
...
]
Last updated
Was this helpful?