List all locations of a given project.
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 ...\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}\n"200
Show child attributes
"loc_lGX1KyB6Z1XrSN5h"
"40.4773493"
"-124.1226179"
"Production Facility"
Show child attributes
"Production Facility"
null
null
null
null
null
"CA"
Show child attributes
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 ...\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}\n"