Dweet
Dweet is a lightweight messaging service for sending and receiving simple real-time data from internet-connected devices.
- Base URL:
https://dweet.io - Auth:
bearer(pass your key via theapiKeyinput)
Operations
createalertget— GET /alert/{who}/when/{thing}/{condition} — Create an alert for a thing. A thing must be locked before an alert can be set.getalert— GET /get/alert/for/{thing} — Get the alert attached to a thing.get_get_dweets_for_thing— GET /get/dweets/for/{thing} — Read the last 5 cached dweets for a thing.getlatestdweet— GET /get/latest/dweet/for/{thing} — Read the latest dweet for a thing.getstoredalerts— GET /get/stored/alerts/for/{thing} — Read all the saved alerts for a thing from long term storage. You can query a maximum of 1 day per request and a granularly of 1 hour.get_get_stored_dweets_for_thing— GET /get/stored/dweets/for/{thing} — Read all the saved dweets for a thing from long term storage. You can query a maximum of 1 day per request and a granularly of 1 hour.
Inputs
apiKey— your dweet 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: createalertget
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: createalertget, getalert, get_get_dweets_for_thing, getlatestdweet, getstoredalerts, get_get_stored_dweets_for_thing |
condition |
string | no | — | Path parameter condition (required by some operations). |
thing |
string | no | — | Path parameter thing (required by some operations). |
who |
string | no | — | Path parameter who (required by some operations). |
query |
string | no | — | Optional query params as a JSON object string, e.g. {"limit": 10}. |