is there a way to share an addressbook programmatically via api or commandline?
Found the request via firefox console.
Seems like curl -u user:password -H βContent-Type: application/xml; charset=utf-8β βhttp://address/remote.php/dav/addressbooks/users/user/addressbook/β --data β<x4:share xmlns:x4=βhttp://owncloud.org/nsβ><x4:set><x0:href xmlns:x0=βDAV:β>principal:principals/users/user</x0:href></x4:set></x4:share>β
2 Likes