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