Bedework / bedework

An Enterprise Calendar and Scheduling System
Apache License 2.0
40 stars 9 forks source link

API access to post new event or update existing event? #125

Open bill-brown opened 5 years ago

bill-brown commented 5 years ago

Is it possible to post a new event or modify an existing event programmatically through the(an) API in bedework?

Our use case is someone creating an event in another system, that system would kick off an API call to Bedework to create a copy (less rich in content) there. It should also get a Bedework ID to store locally to updates.

douglm commented 5 years ago

On 4/17/19 09:43, Bill Brown wrote:

Is it possible to post a new event or modify an existing event programmatically through the(an) API in bedework?

Our use case is someone creating an event in another system, that system would kick off an API call to Bedework to create a copy (less rich in content) there. It should also get a Bedework ID to store locally to updates.

Is this for public events?

I'd take a look at the synch engine. The generating system could make events available as a feed and the synch engine will synchronize a bedework collection

This is used at a number of site to import events into bedework from external sources, e.g. athletics feeds, drupal etc.

— You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHub https://github.com/Bedework/bedework/issues/125, or mute the thread https://github.com/notifications/unsubscribe-auth/AC2mBmOqA5nj2M7r6RJCMmSOF92ldo9rks5vhyUZgaJpZM4c1F5z.

bill-brown commented 5 years ago

Thanks, Doug.

Can you point me to the version or place in the code or documentation where I could investigate these features? We are on bedework 3.8. is the synch engine available for that version as well or would we need to upgrade to a newer release to utilize the feature? I think we would also want to use the feature to update existing events. What you describe sounds like it might be just for adding new events. Thanks.

douglm commented 5 years ago

The sync engine is used to keep a collection of events in sync with a source - usually a feed that consists of a number events as an ics resource (file or feed)

So it will update and optionally delete

It might exist in 3.8 but there have been many fixes and updates recently.

3.8 is pretty old. The latest is much faster - uses ElasticSearch for all retrievals by the public clients

It's documented for 3.10 - https://apereo.atlassian.net/wiki/spaces/BWK310/pages/103029056/The+synch+engine

3.12.5 is available and 3.12.6 is about to be

On 4/19/19 10:06, Bill Brown wrote:

Thanks, Doug.

Can you point me to the version or place in the code or documentation where I could investigate these features? We are on bedework 3.8. is the synch engine available for that version as well or would we need to upgrade to a newer release to utilize the feature? I think we would also want to use the feature to update existing events. What you describe sounds like it might be just for adding new events. Thanks.

— You are receiving this because you commented. Reply to this email directly, view it on GitHub https://github.com/Bedework/bedework/issues/125#issuecomment-484906283, or mute the thread https://github.com/notifications/unsubscribe-auth/AAW2MBW2ZHZYH4EQDJR6NOTPRHGWTANCNFSM4HGULZZQ.