Jokes
Tool for the jokes API.
- Base URL:
https://api.jokes.one - Auth:
header:X-JokesOne-Api-Secret(pass your key via theapiKeyinput)
Operations
get_jod— GET /jod — GetsJoke of the Day. Optionalcategoryparam determines the category of ret-
get_jod_categories— GET /jod/categories — Gets a list ofJoke of the DayCategories. -
get_joke— GET /joke — Gets aJokewith a givenid. -
get_joke_categories_search— GET /joke/categories/search — Gets a list ofJokeCategories, based on a query term. -
get_joke_list— GET /joke/list — Get the list of jokes in your private collection. get_joke_random— GET /joke/random — Gets aRandom Joke. When you are in a hurry this is what you call to get a ran
Inputs
apiKey— your jokes API keyoperation— one of the operations above- path parameters when an operation's path contains
{...} query— optional JSON object of query paramsbody— JSON object for create/update ops
Example
operation: get_jod
apiKey: <your key>
Publishes
The keys a later task may reference as {{taskName.key}}. Referencing anything not listed here resolves to nothing at run time.
erroroperationresultstatus
Input Properties
Every property this tool accepts, from its own tool.iml.
| Property | Type | Required | Default | Description |
|---|---|---|---|---|
apiKey |
string | yes | — | DEPRECATED — bind an API Key credential to the task with credentialName instead. A key pasted here is stored in the workflow definition in clear and appears in every export of it. Still honoured for workflows built before the change. |
operation |
string | yes | — | One of: get_jod, get_jod_categories, get_joke, get_joke_categories_search, get_joke_list, get_joke_random |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |