Create a new event
Creating 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 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
Changed in 3 of the 50 revisions of this API.1355
- ▲
added
UnixTimeto theendrequest propertyallOflistrequest-property-all-of-added
- ▲
added
UnixTimeto thestartrequest propertyallOflistrequest-property-all-of-added
- ▲
added
UnixTimeMillisto thecreated_atrequest propertyallOflistrequest-property-all-of-added
- ▲
removed
UnixTimefrom theendrequest propertyoneOflistrequest-property-one-of-removed
- ▲
removed
UnixTimefrom thestartrequest propertyoneOflistrequest-property-one-of-removed
- ▲
the
created_atrequest property type/format changed frominteger/int64to/request-property-type-changed
- ○
the request optional property
created_atbecame not read-onlyrequest-optional-property-became-not-read-only
- ▲
- ▲
added
Emailto theemailrequest propertyallOflistrequest-property-all-of-added
- ▲
added
Phoneto thetelephonerequest propertyallOflistrequest-property-all-of-added
- ▲
the
emailrequest property type/format changed fromstring/to/request-property-type-changed
- ▲
the
telephonerequest property type/format changed fromstring/to/request-property-type-changed
- ○
the
emailrequest property's minLength was decreased from3to0request-property-min-length-decreased
- ▲
- ▲
the
emailrequest property's minLength was increased from0to3request-property-min-length-increased
- ▲
the
emailrequest property type/format changed from/tostring/request-property-type-changed
- ▲
the
telephonerequest property type/format changed from/tostring/request-property-type-changed
- ●
removed
Emailfrom theemailrequest propertyallOflistrequest-property-all-of-removed
- ●
removed
Phonefrom thetelephonerequest propertyallOflistrequest-property-all-of-removed
- ●
removed
UnixTimefrom theendrequest propertyallOflistrequest-property-all-of-removed
- ●
removed
UnixTimefrom thestartrequest propertyallOflistrequest-property-all-of-removed
- ●
removed
UnixTimeMillisfrom thecreated_atrequest propertyallOflistrequest-property-all-of-removed
- ○
the request optional property
created_atbecame read-onlyrequest-optional-property-became-read-only
- ○
added
UnixTimeto theendrequest propertyoneOflistrequest-property-one-of-added
- ○
added
UnixTimeto thestartrequest propertyoneOflistrequest-property-one-of-added
This revision also has 17 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲