Returns a list of all food share points in a region and all its subregions.
GET
/api/regions/{regionId}/foodSharePointsAuthorizations
api_key
Type: API Key (header: X-CSRF-Token)
Parameters
Path Parameters
regionId*
region for which to return food share points
Typeinteger
RequiredResponses
Success
Authorization
api_key
Variables
Key
Value
regionId*
cURL
curl -X GET \
'http://localhost/api/regions/{regionId}/foodSharePoints'
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())