Skip to content

Adds or suggests a new food share point.

POST
/api/regions/{regionId}/foodSharePoints

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]*"

Request Body

application/json
JSON
{
"regionId": 1,
"name": "Test-Fairteiler",
"description": "Test-Beschreibung",
"picture": "/api/uploads/12345678",
"address": "Beispielstraße 1",
"postalCode": "12345",
"city": "Musterstadt",
"location": {
"lat": 52.5,
"lon": 13.4
}
}

Responses

Success

Playground

Authorization
Variables
Key
Value
Body

Samples

cURL
JavaScript
PHP
Python