I want to have access to the data from an other app.
NC is offering connectivity for/integration into all main systems. All you have to set is the link, username and password. The rest is handled from these very apps, right?
Basically I want to build my own app to connect to NC-CardDAV-server.
@marcelklehr I was asking for CardDAV, not CalDAV, althought this might become handy too!
While I’ve found the CardDAV description, https://tools.ietf.org/html/rfc6352, this does also not explain how to talk to the NC-Server.
@kesselb: Thank you for your ongoing responses here! Unfortunately this still doesn’t answer my question.
The hints you mentioned ("… access the CardDAV or CalDAV endpoint in the same way. Contacts or DavX5 might…") does not help here! Contacts is php and JS and DavX5… Java?
Sorry, my bad.
CardDAV, like CalDAV, is an extension of the WebDAV protocol, itself based on HTTP.
CardDAV is described here: https://tools.ietf.org/html/rfc6352
The software mentioned by @kesselb implements this protocol and thus would be a good starting point if you like to implement it too, regardless of which language you are planning to do that in.
The question “Will there be a cardDAV API?” is like asking, “will there be an API to talk to my http server?” – There already is. It’s called HTTP – or cardDAV in your case.
you can easily access all Card and Cal data by simple http calls (GET, POST, DELETE, PROPFIND, …) – it just not REST but this should not be a problem.
You could also keep an eye on our FC Davproject which connects any FileMaker solution to a groupware server (like Nextcloud). As of now it only supports calendars and we are in private beta but CardDAV is next up on the roadmap.