Getting Started
Production Data
- Projects
- Locations
- Events
- Datapoints
- Evidence
Credit Inventory Management
- Orders
Account Admin
- Account
Locations
All locations on a project
Locations
All locations on a project
List all locations of a given project.
GET
/
projects
/
{project_id}
/
locations
curl --request GET \
--url https://app.gomangrove.com/api/v1/projects/{project_id}/locations \
--header 'Authorization: <api-key>'
"{\n \"data\": [\n {\n \"id\": \"loc_lGX1KyB6Z1XrSN5h\",\n \"lat\": \"40.4773493\",\n \"long\": \"-124.1226179\",\n \"name\": \"Production Facility\",\n \"address\": {\n \"name\": \"Production Facility\",\n \"street_address_1\": null,\n \"street_address_2\": null,\n \"city\": null,\n \"state\": null,\n \"postal_code\": null,\n \"country\": \"CA\",\n }\n },\n\t\t...\n ],\n \"info\": {\n \"items\": 5,\n \"page_size\": 10,\n \"total_items\": 5,\n \"current_page\": 1,\n \"next_page\": null,\n \"previous_page\": null,\n \"total_pages\": 1,\n \"sort\": [],\n \"filter\": []\n }\n}"
Authorizations
Path Parameters
Response
200
application/json
200
The response is of type any
.
curl --request GET \
--url https://app.gomangrove.com/api/v1/projects/{project_id}/locations \
--header 'Authorization: <api-key>'
"{\n \"data\": [\n {\n \"id\": \"loc_lGX1KyB6Z1XrSN5h\",\n \"lat\": \"40.4773493\",\n \"long\": \"-124.1226179\",\n \"name\": \"Production Facility\",\n \"address\": {\n \"name\": \"Production Facility\",\n \"street_address_1\": null,\n \"street_address_2\": null,\n \"city\": null,\n \"state\": null,\n \"postal_code\": null,\n \"country\": \"CA\",\n }\n },\n\t\t...\n ],\n \"info\": {\n \"items\": 5,\n \"page_size\": 10,\n \"total_items\": 5,\n \"current_page\": 1,\n \"next_page\": null,\n \"previous_page\": null,\n \"total_pages\": 1,\n \"sort\": [],\n \"filter\": []\n }\n}"