Files
nextcloud-docs/developer_manual/client_apis/WebDAV/versions.rst
Roeland Jago Douma 6b3d9a36aa Rename sections
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
2019-01-03 20:44:31 +01:00

24 lines
652 B
ReStructuredText

.. _webdavversions:
========
Versions
========
Nextcloud makes the versions of files available via the webdav endpoint.
Listing the versions of a file
------------------------------
To obtain all the version of a file a normal :code:`PROPFIND` has to be send to
:code:`https://cloud.example.com/remote.php/dav/versions/USER/versions/FILEID`. This will
list the versions for this file.
The name is the timestamp of the version.
Restoring a version
---------------------------
To restore a version all that needs to be done is to move a version
the special restore folder at :code:`https://cloud.example.com/remote.php/dav/versions/USER/restore`