Skip to content

Returns the public region data.

GET
/api/region/{regionId}/public

Authorizations

api_key

Requests manipulating data need to supply a CSRF token

TypeAPI Key (header: X-CSRF-Token)

Parameters

Path Parameters

regionId*
Typestring
Required
Pattern"[1-9][0-9]*"

Responses

success

application/json
JSON
{
"id": 0,
"name": "string",
"type": 0,
"description": "string",
"email": "string",
"hasAmbassador": true,
"location": {
"lat": 52.5,
"lon": 13.4
},
"statistics": {
"lastUpdated": "string",
"activeHomeRegionFoodsavers": 0,
"activeCoorporations": 0,
"pickupsLastMonth": 0,
"savedFoodKgLastMonth": 0,
"activeFoodSharePoints": 0,
"foodBasketsLastMonth": 0
}
}

Playground

Authorization
Variables
Key
Value

Samples

cURL
JavaScript
PHP
Python