List of address books

The command
sudo -u www-data php ./occ dav:list-calendars username
outputs a list of available calendars for that user. The list displays both the URI and the DisplayName of the calendars.

A similar command for addressbooks is not avalaible?
Is there a valid reason for this?

In the NC GUI one can select an adressbook for renaming and deleting and for changing its color (the latter very important!), but there NO information about the properties of the addressbook (e.g. URI, number of contacts within addressbook, etc)
Why not?

What should a NC user do if - for example - the Android app “DAVx5” (formerly known DAVdroid) reports an 404 error about an addressbook, (e.g. “https://example.com/nextcloud/remote.php/dav/addressbook/USERNAME/abc/” (“abc” being the URI of the addressbook, and “USERNAME” being the name of the NC user)?
I would be able to solve this problem myself.

Furthermore:
Can somebody tell me under which circumstances NC appends “-1” to an addressbook URI?

Of course I digged through the NC documentation (again wasting precious time) but could not find a pertinent hint.

Regards
Dieter

Nobody has implemented yet.
The docs can be found at https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/occ_command.html?highlight=address%20book#dav-commands

Same reason.

Feel free to join the community and contribute some code.

1 Like

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.