Skip to content

Commit

Permalink
feat(carddav): add command to list address books
Browse files Browse the repository at this point in the history
Signed-off-by: Anna Larch <anna@nextcloud.com>
  • Loading branch information
miaulalala committed Sep 5, 2024
1 parent 655ee27 commit 83a6fbf
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion admin_manual/configuration_server/occ_command.rst
Original file line number Diff line number Diff line change
Expand Up @@ -513,6 +513,7 @@ A set of commands to create and manage addressbooks and calendars::

dav
dav:create-addressbook Create a dav addressbook
dav:list-addressbooks List all addressbooks of a user
dav:create-calendar Create a dav calendar
dav:delete-calendar Delete a dav calendar
dav:fix-missing-caldav-changes Insert missing calendarchanges rows for existing events
Expand Down Expand Up @@ -548,11 +549,17 @@ This example will delete the birthday calendar of user molly::

sudo -u www-data php occ dav:delete-calendar --birthday molly

``dav:lists-calendars [user]`` will display a table listing the calendars for a given user.
``dav:list-calendars [user]`` and ``dav:list-addressbooks [user]`` will display a
table listing the calendars or addressbooks for a given user.

This example will list all calendars for user annie::

sudo -u www-data php occ dav:list-calendars annie

This example will list all addressbooks for user annie::

sudo -u www-data php occ dav:list-addressbooks annie

``dav:dav:fix-missing-caldav-changes [user]`` tries to restore calendar sync changes when data in the calendarchanges table has been lost. If the user ID is omitted, the command runs for all users. This can take a while.

``dav::move-calendar [name] [sourceuid] [destinationuid]`` allows the admin
Expand Down

0 comments on commit 83a6fbf

Please sign in to comment.