Skip to content

Joke Search Paginated API #459

@swapnil-musale

Description

@swapnil-musale

Is your feature request related to a problem? Please describe.

I've build Joke generator app where I'm planning to add Search feature but currently looking at docs can say https://v2.jokeapi.dev/joke/Any?contains=searchString this api return single joke, is there any possibility to get list of joke with corresponding to searchString in pagination form

Describe the solution you'd like

{
  "currentPage": "0",
  "lastPage": "true"
  "searchResult": [
    {
      "category": "Programming",
      "type": "twopart",
      "setup": "Why do programmers wear glasses?",
      "delivery": "Because they need to C#",
      "flags": {
        "nsfw": false,
        "religious": false,
        "political": false,
        "racist": false,
        "sexist": false,
        "explicit": false
      },
      "id": 51,
      "lang": "en"
    }
  ]
}

It will be great if client or api consumer receive the something similar fashion.

Describe alternatives you've considered

Nothing

Additional context

https://github.com/swapnil-musale/JetJoke

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions