-
Notifications
You must be signed in to change notification settings - Fork 294
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
REST API #4
Comments
+1 for this, or an alternative way of keeping two data-sets in sync |
+1 It would be great to have a possibility to add user through external scripts (e.g. cron-job) |
Definitely would make Baikal a lot more powerful... Thank you for the great project. |
+1 Any updates, comments or issues with this idea? @jeromeschneider ? |
REST API is implemented in Baïkal2. |
Does Baikal have a REST API or will I need to setup Sabre/Dav? I noticed that Baikal2 has been archived so I was wondering if it has been added to this library? |
No, Baikal does not have a REST api. You do not need to install sabre/dav to talk to Baikal. You just need to talk DAV, which is very similar to REST. It has the same GET/PUT/DELETE semantics as REST but uses XML instead of JSON. See this tutorial on how to talk to a DAV server: https://sabre.io/dav/building-a-carddav-client/ |
@ByteHamster Thanks for the information. So I can use this https://github.com/christian-putzke/CardDAV-PHP CardDav Client to talk to my Baikal CardDav Server? I'm guessing any CardDav Client can talk to the Baikal CardDav server, am I right in thinking using this PHP CardDav client is similar to using Outlook, Apple Contacts etc... ? |
I don't know about that library but carddav is a very simple protocol, so you can probably just talk to the server directly without using a library.
Yes
I don't know what you mean with that. Outlook is a server while the library you listed is a client. |
Is there like a Man Page or Manual for Baikal somewhere? |
It would be EXTREMELY useful to have a REST JSON api.
The api should be able to access carddav / caldav data in the same way a device does,
Basic crud functions, with the ability to list resources / users.
The text was updated successfully, but these errors were encountered: