Searches jokes

By passing in the appropriate options, you can search for\navailable jokes\n

QUERY PARAMETERS

searchString STRING
pass an optional search string for looking up inventory
numberofJokes INTEGER(int32)
number of jokes to return
category STRING
category of jokes to return
sortBy STRING
Allowed: thumbsUp, thumbsDown, dateAdded.
sortOrder STRING
Allowed: asc, desc. asc is ascending and sorts from A to Z. desc is descending and sorts from Z to A.

RESPONSES

200 [OBJECT]
search results matching criteria
id REQUIRED / STRING
The id of the Joke. Assigned when added.
joke REQUIRED / STRING
The lead-in to the joke.
punchline REQUIRED / STRING
This bit should make you laugh :).
category REQUIRED / STRING
the category of the joke.
thumbsUp REQUIRED / INTEGER
Count of upvotes for the joke.
thumbsDown REQUIRED / INTEGER
Count of down votes for the joke.
dateAdded REQUIRED / STRING
400
bad input parameter