> For the complete documentation index, see [llms.txt](https://tutyamxx.gitbook.io/romanian-jokes-api-docs/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://tutyamxx.gitbook.io/romanian-jokes-api-docs/get-a-specific-joke.md).

# GET - A Specific Joke

➡️ This will be the endpoint in retrieving a specific Romanian joke

## Get a specific Romanian joke

<mark style="color:blue;">`GET`</mark> `https://romanian-jokes-api.herokuapp.com/v1/romanianjokes/id/:id`

This endpoint allows you to get a specific Romanian joke

#### Path Parameters

| Name           | Type   | Description     |
| -------------- | ------ | --------------- |
| /romanianjokes | string | Obligatory path |
| /id            | string | Obligatory path |

#### Query Parameters

| Name | Type    | Description                                                              |
| ---- | ------- | ------------------------------------------------------------------------ |
| id   | integer | The unique id (within the jokes count range) of a specific Romanian joke |

{% tabs %}
{% tab title="200 Specific joke with the id 30 successfully retrieved." %}

```
[
    {
        "id": 30,
        "joketype": "seci",
        "joke": "De ce are rinocerul corn? Pentru că nu a găsit chiflă."
    }
]
```

{% endtab %}

{% tab title="404 Could not find the specified joke matching this query." %}

```
{
    "message": "This joke id or filter specified could not be found"
}
```

{% endtab %}
{% endtabs %}

<mark style="color:blue;">`GET`</mark> `https://romanian-jokes-api.herokuapp.com/v1/romanianjokes/all`

#### Path Parameters

| Name           | Type   | Description     |
| -------------- | ------ | --------------- |
| /romanianjokes | string | Obligatory path |

{% tabs %}
{% tab title="200 " %}

```
Obli
```

{% endtab %}
{% endtabs %}
