Update an event
Changed onEvents can only be updated by the organization that owns them. Ownership is determined by the event's reserved tags.
The updated event must be assigned at least one of the organization's reserved tags. Otherwise all reserved tags of the event are preserved by implicitly re-adding them.
Request
- Base URLhttps://api.ofdb.io/v0
- URLhttps://api.ofdb.io/v0/events/{id}
- AuthHTTP bearer
Path parameters
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
Successfully updated the 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