Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

OCS endpoint to get the available calendar slots of a user #6654

Open
julien-nc opened this issue Jan 23, 2025 · 5 comments
Open

OCS endpoint to get the available calendar slots of a user #6654

julien-nc opened this issue Jan 23, 2025 · 5 comments
Labels
0. to triage Pending approval or rejection enhancement New feature request Feature: Integration An integration with another app in the ecosystem Feature: Scheduling Anything around scheduling meetings, free-busy, resources, attendees and so on

Comments

@julien-nc
Copy link
Member

Is your feature request related to a problem? Please describe.

No response

Describe the solution you'd like

Would it be possible to make an OCS endpoint listing the available slots for a user in a datetime range?

Describe alternatives you've considered

No response

Additional context

We would use this endpoint in a Context agent tool which could be used in combination with the tool that schedules events. The goal is to make it possible to satisfy such user prompt: "Schedule an event with user1 and user2 at the first common available slot they have next week."

@julien-nc julien-nc added 0. to triage Pending approval or rejection enhancement New feature request Feature: Integration An integration with another app in the ecosystem Feature: Scheduling Anything around scheduling meetings, free-busy, resources, attendees and so on labels Jan 23, 2025
@SebastianKrupinski
Copy link
Contributor

What you want is a OCS endpoint for free/busy availability, we currently use such a function in the calendar.

Also, how would you control which calendar the event gets created in?

@julien-nc
Copy link
Member Author

What you want is a OCS endpoint for free/busy availability, we currently use such a function in the calendar.

Is it part of the CalDav API? Could you point me to examples?

how would you control which calendar the event gets created in?

The agent tool currently takes a calendar name as input. The agent is able to list calendars with another tool.

@SebastianKrupinski
Copy link
Contributor

Is it part of the CalDav API? Could you point me to examples?

Yes and no, its part of the caldav protocol, but does not have a api end point. The functionality will need to be exposed via OCS.

@marcelklehr
Copy link
Member

We can do webdav requests, though. So caldav is fine

@marcelklehr
Copy link
Member

mmmh, maybe an OCS endpoint could be nice still :D

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
0. to triage Pending approval or rejection enhancement New feature request Feature: Integration An integration with another app in the ecosystem Feature: Scheduling Anything around scheduling meetings, free-busy, resources, attendees and so on
Projects
None yet
Development

No branches or pull requests

3 participants