docs icon indicating copy to clipboard operation
docs copied to clipboard

Get shares filtered by share type via API

Open jvillafanez opened this issue 5 years ago • 1 comments

New option in the "get shares" API to filter the shares by share type (available from 10.6.0) Related to https://github.com/owncloud/core/pull/38000

What Needs to be Documented?

Where Does This Need To Be Documented?

Why Should This Change Be Made? (Optional)

What Type Of Content Change Is This? (Optional)

  • [ ] New Content Addition
  • [ ] Old Content Deprecation
  • [ ] Existing Content Simplification
  • [ ] Bug Fix to Existing Content

Which Manual Does This Relate To? (Optional)

  • [ ] Admin Manual
  • [ ] Developer Manual
  • [ ] User Manual
  • [ ] Android
  • [ ] iOS
  • [ ] Branded Clients
  • [ ] Desktop Client
  • [ ] Other

jvillafanez avatar Oct 20 '20 11:10 jvillafanez

Note: https://doc.owncloud.com/server/developer_manual/core/apis/ocs-share-api.html#get-all-shares currently has some rubbish - talks about /ocs/v1.php/apps/files_sharing/api/v1/shares/pending but should be for "ordinary" (not pending) shares. Similar problem in https://doc.owncloud.com/server/developer_manual/core/apis/ocs-share-api.html#get-information-about-a-known-share /ocs/v1.php/apps/files_sharing/api/v1/shares/pending/<share_id>

There should be separate examples for "all shares" and "pending shares".

So that will really need to be fixed first, and then add the doc for the filtering by share type.

phil-davis avatar Oct 20 '20 11:10 phil-davis