Skip to content

Returns a list of all food share points in a region and all its subregions.

GET
/api/regions/{regionId}/foodSharePoints

Authorizations

Parameters

Path Parameters

regionId*

region for which to return food share points

Typeinteger
Required

Responses

Success

Samples

cURL
curl -X GET http://localhost/api/regions/{regionId}/foodSharePoints
JavaScript
fetch("http://localhost/api/regions/{regionId}/foodSharePoints")
  .then(response => response.json())
  .then(data => console.log(data));
PHP
file_get_contents("http://localhost/api/regions/{regionId}/foodSharePoints");
Python
import requests
response = requests.get("http://localhost/api/regions/{regionId}/foodSharePoints")
print(response.json())