Fungenerators Riddle
Fungenerators Riddle is an API that provides riddles for games, learning, or entertainment content.
- Base URL:
https://api.fungenerators.com - Auth:
header:X-Fungenerators-Api-Secret(pass your key via theapiKeyinput)
Operations
get_riddle— GET /riddle — Get a Riddle entry for a given id. Retrieves a riddle question and answer basedget_riddle_random— GET /riddle/random — Get a random riddle for a given category(optional)get_riddle_search— GET /riddle/search — Search for random riddle which has the text in the query, for a given category(opost_riddle— POST /riddle — Create a random Riddle entry. Same as 'PUT' but can be used when some of the cliput_riddle— PUT /riddle — Create a random Riddle entry.delete_riddle— DELETE /riddle — Create a random Riddle entry.
Inputs
apiKey— your fungenerators-riddle 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_riddle
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_riddle, get_riddle_random, get_riddle_search, post_riddle, put_riddle, delete_riddle |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |