Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API Issues Collection #269

Closed
2 of 5 tasks
voroyam opened this issue Jul 12, 2018 · 1 comment
Closed
2 of 5 tasks

API Issues Collection #269

voroyam opened this issue Jul 12, 2018 · 1 comment
Labels
developer docs p4-low Low priority work in progress Still in development. Not to be merged.

Comments

@voroyam
Copy link
Contributor

voroyam commented Jul 12, 2018

Tasks


Document Files Versions API

Opened by @DeepDiver1975 in owncloud-archive/documentation#3468

  • How to list versions of a file (perform PROPFIND to /remote.php/dav/meta/$fileid/v)
  • How to restore a version: (COPY /remote.php/dav/meta/$fileid/v/$versionid /remote.php/dav/files/$user/foo/bar)

Note: will be merged to master first - we need to decide when to merge this to 10.0.x

PR: owncloud/core#29207

Move Notifications API docs to dev docs

Opened by @pmaier1 (owncloud-archive/documentation#3242)

As the headline says:

OCS Share API documentation incomplete

Opened by @moscicki (owncloud-archive/documentation#2212)

The doc is not specific about arguments (e.g., what a boolean is). It misses the spec of the XML response body. And examples of requests/responses. Documented examples may be validated automatically. Here is the example how we do it for the sync protocol. This script 1 validates PROPFIND responses documented in 2.

Please also consider the testing suggestion referenced in owncloud/pyocclient#154. See owncloud/core#22839 for a few more cases and examples. For a start see https://gist.github.com/rullzer/585d752cbda6be453e5a and paste that into http://editor.swagger.io/. I'm not saying we have to settle on this format, but @LukasReschke had some specs to start from.

Looks like a move in a nice direction. Can these specs somehow be used for automated validation of software that implements them?

On Thu, Mar 17, 2016 at 9:24 AM, Roeland Douma notifications@github.com
wrote:

For a start see https://gist.github.com/rullzer/585d752cbda6be453e5a and paste that into http://editor.swagger.io/

@settermjd settermjd transferred this issue from owncloud-archive/documentation Nov 19, 2018
@settermjd settermjd self-assigned this Dec 18, 2019
@settermjd settermjd added the work in progress Still in development. Not to be merged. label Dec 18, 2019
@settermjd
Copy link
Contributor

settermjd commented Dec 19, 2019

How to list versions of a file (perform PROPFIND to /remote.php/dav/meta/$fileid/v)
How to restore a version: (COPY /remote.php/dav/meta/$fileid/v/$versionid /remote.php/dav/files/$user/foo/bar)

These are already documented in https://doc.owncloud.com/server/10.3/developer_manual/webdav_api/files_versions.html. However, the existing documentation is quite minimal. I'll flesh out the information today.

@settermjd settermjd added the p4-low Low priority label Mar 6, 2020
@settermjd settermjd removed their assignment Apr 24, 2020
@voroyam voroyam closed this as completed Mar 2, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
developer docs p4-low Low priority work in progress Still in development. Not to be merged.
Projects
None yet
Development

No branches or pull requests

2 participants