Skip to content

Returns the public region data.​

GET
/api/regions/{regionId}/public

Authorizations​

api_key

Requests manipulating data need to supply a CSRF token

Type
API Key (header: X-CSRF-Token)

Parameters​

Path Parameters

regionId*
Type
integer
Required
Minimum
1

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​