Skip to content

API Issues Collection #269

Description

@voroyam

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/

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions