Miataru
Miataru is an open-source location sharing and tracking service that lets devices publish and retrieve location data.
- Base URL:
http://service.miataru.com/v1 - Auth:
bearer(pass your key via theapiKeyinput)
Operations
getlocationgeojson— GET /GetLocationGeoJSON/{deviceID} — Retrieves a devices Location in GeoJSON format.getlocation— POST /GetLocation — To retrieve a specific devices latest known location the /GetLocation method isgetlocationhistory— POST /GetLocationHistory — Location History is stored on the server only if the client told the server to dgetvisitorhistory— POST /GetVisitorHistory — Visitor History is stored on the server with every request to the location or loupdatelocation— POST /UpdateLocation — This method is used to update the location of a device. The device does not need
Inputs
apiKey— your miataru 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: getlocationgeojson
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: getlocationgeojson, getlocation, getlocationhistory, getvisitorhistory, updatelocation |
deviceID |
string | no | — | Path parameter deviceID (required by some operations). |
body |
string | no | — | Request body as a JSON object string (for create/update operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |