Events

Update an event

Events 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.

put/events/{id}

Path parameters

idstring required

Request body

idstring

Identifier of a resource

titlestring
descriptionstring
startinteger

Unix time (number of seconds since 00:00::00 1. January, 1970, UTC)

endinteger

Unix time (number of seconds since 00:00::00 1. January, 1970, UTC)

created_atinteger

Precise Unix time (number of milliseconds since 00:00::00.000 1. January, 1970, UTC) for system-generated time stamps

created_bystring

The email address of the user who is responsible for the content. This information is only available for authorized organizations.

latnumber double

Geographic latitude (in degrees)

lngnumber double

Geographic longitude (in degrees)

streetstring
zipstring
citystring
countrystring
statestring
emailstring

An e-mail address.

telephonestring
tagsTag[]
homepagestring
registration'email' | 'telephone' | 'homepage'

Type of registration

organizerstring
image_urlstring
image_link_urlstring

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

Changed in 3 of the 50 revisions of this API.1355

  • b2a47c048e8361See the full diff
    • added UnixTime to the end request property allOf list

      request-property-all-of-added

    • added UnixTime to the start request property allOf list

      request-property-all-of-added

    • added UnixTimeMillis to the created_at request property allOf list

      request-property-all-of-added

    • removed UnixTime from the end request property oneOf list

      request-property-one-of-removed

    • removed UnixTime from the start request property oneOf list

      request-property-one-of-removed

    • the created_at request property type/format changed from integer/int64 to /

      request-property-type-changed

    • the request optional property created_at became not read-only

      request-optional-property-became-not-read-only

  • bca9ebb2d24a41See the full diff
    • added Email to the email request property allOf list

      request-property-all-of-added

    • added Phone to the telephone request property allOf list

      request-property-all-of-added

    • the email request property type/format changed from string/ to /

      request-property-type-changed

    • the telephone request property type/format changed from string/ to /

      request-property-type-changed

    • the email request property's minLength was decreased from 3 to 0

      request-property-min-length-decreased

  • ddfd4e39c98d353See the full diff
    • the email request property's minLength was increased from 0 to 3

      request-property-min-length-increased

    • the email request property type/format changed from / to string/

      request-property-type-changed

    • the telephone request property type/format changed from / to string/

      request-property-type-changed

    • removed Email from the email request property allOf list

      request-property-all-of-removed

    • removed Phone from the telephone request property allOf list

      request-property-all-of-removed

    • removed UnixTime from the end request property allOf list

      request-property-all-of-removed

    • removed UnixTime from the start request property allOf list

      request-property-all-of-removed

    • removed UnixTimeMillis from the created_at request property allOf list

      request-property-all-of-removed

    • the request optional property created_at became read-only

      request-optional-property-became-read-only

    • added UnixTime to the end request property oneOf list

      request-property-one-of-added

    • added UnixTime to the start request property oneOf list

      request-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