cronofy / cronofy-node

Node wrapper for the Cronofy API
https://docs.cronofy.com/developers
MIT License
49 stars 23 forks source link

There is no update/patch for events? #52

Closed Flos closed 6 years ago

Flos commented 6 years ago

I would like to be able to change details of an event, but I can only delete and create events. So when I update for example the time, do I have to delete the event and create a new event with the same id?

What about the metadata which is maybe only in the original agenda provider?

gshutler commented 6 years ago

A create is actually an upsert so to update an event you make a "create" request with the new details.

The update should preserve any other metadata for the event if that is what you are concerned about.