Mtaa Api
Tool for the mtaa-api API.
- Base URL:
https://mtaa-api.herokuapp.com/api - Auth:
bearer(pass your key via theapiKeyinput)
Operations
tanzania_regions— GET /{country} — Returns all regions present in Tanzaniadistricts_in_a_region— GET /{country}/{region} — Returns all districts in regionwards_in_a_district— GET /{country}/{region}/{district} — Returns all wards in a districtstreets_in_a_ward— GET /{country}/{region}/{district}/{ward} — Returns all streets in a wardneighborhood_in_a_street— GET /{country}/{region}/{district}/{ward}/{street} — Returns all neighborhood in a street
Inputs
apiKey— your mtaa-api 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: tanzania_regions
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: tanzania_regions, districts_in_a_region, wards_in_a_district, streets_in_a_ward, neighborhood_in_a_street |
country |
string | no | — | Path parameter country (required by some operations). |
district |
string | no | — | Path parameter district (required by some operations). |
region |
string | no | — | Path parameter region (required by some operations). |
street |
string | no | — | Path parameter street (required by some operations). |
ward |
string | no | — | Path parameter ward (required by some operations). |
query |
string | no | — | Query-string parameters as a JSON object string, e.g. {"limit": 50}. Parsed and url-encoded onto the request. |