Create a new event
Changed onCreating new events is only allowed for registered organizations by authorizing themselves with an API token. These organizations must own reserved tags.
One or more reserved tags have to be provided upon creation. Otherwise all of the organization's reserved tags are added implicitly to the event.
Request
- Base URLhttps://api.ofdb.io/v0
- URLhttps://api.ofdb.io/v0/events
- AuthHTTP bearer
Request body
Example request
{
"id": "7cee99c287094a94acbdcf29ffff2e85",
"title": "A great event",
"description": "Detailed description of the event",
"start": 1547403509,
"end": 1547403509,
"created_at": 1547403509000,
"lat": 37.2,
"lng": 120.7,
"email": "john.smith@example.com",
"telephone": "001 123456789",
"tags": [
"organic",
"non-profit"
],
"homepage": "https://www.slowtec.de/",
"registration": "telephone",
"image_url": "https://www.slowtec.de/",
"image_link_url": "https://www.slowtec.de/"
}Response
Created a new event
The ID of the created event
Changes
- breaking
added to the
request propertyallOflist - breaking
added to the
request propertyallOflist - breaking
added to the
request propertyallOflist - breaking
removed from the
request propertyoneOflist - breaking
removed from the
request propertyoneOflist - breaking
the
request property type changed fromintegerto no type, and format fromint64to no format - info
the request optional property
became not read-only
- breaking
- breaking
added to the
request propertyallOflist - breaking
added to the
request propertyallOflist - breaking
the
request property type changed fromstringto no type - breaking
the
request property type changed fromstringto no type - info
the
request property's minLength was decreased from3to0
- breaking