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

REST API #4

Closed
flashtopia opened this issue Jul 22, 2012 · 9 comments
Closed

REST API #4

flashtopia opened this issue Jul 22, 2012 · 9 comments
Assignees
Milestone

Comments

@flashtopia
Copy link

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.

@ryanmitchell
Copy link

+1 for this, or an alternative way of keeping two data-sets in sync

@pensan
Copy link

pensan commented Sep 15, 2013

+1

It would be great to have a possibility to add user through external scripts (e.g. cron-job)

@briceb
Copy link

briceb commented May 10, 2014

Definitely would make Baikal a lot more powerful... Thank you for the great project.

@karlkaefer
Copy link

+1

Any updates, comments or issues with this idea? @jeromeschneider ?

@netgusto
Copy link
Member

REST API is implemented in Baïkal2.

@ghost ghost mentioned this issue Dec 5, 2017
@steveweg steveweg mentioned this issue Nov 20, 2019
1 task
@Lukerayn3r
Copy link

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?

@ByteHamster
Copy link
Member

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/

@Lukerayn3r
Copy link

@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... ?

@ByteHamster
Copy link
Member

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.

I'm guessing any CardDav Client can talk to the Baikal CardDav server,

Yes

am I right in thinking using this PHP CardDav client is similar to using Outlook, Apple Contacts etc... ?

I don't know what you mean with that. Outlook is a server while the library you listed is a client.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

9 participants