Pending shares: API
Open
Nobody has claimed this yet.
0. Needs triage
enhancement
feature: sharing
- Dominant language
- PHP
- Stars
- 36.9k
- Forks
- 5.2k
- Avg merge
- 2d 3h
- Merged PRs (30d)
- 713
Description
We have the idea to move pending shares to file list (https://github.com/nextcloud/server/issues/27704, https://github.com/nextcloud/server/issues/2192)
As discussed with @juliushaertl (as he already thought about it/helped some contributor) the new idea is:
- add a new webdav property nc:pendingShares
- this is currently only populated when querying root folder
- it returns as JSON all pending shares (similar to richWorkspaces)
- normally there are only a few shares
- it is fast, no additional calls
- can then be easily refreshed, shown in all clients
- needed info in JSON:
- Share name
- Display name of person who shared
- preview url
- accept/deny url
- share date
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by reading this issue together with the linked issues #27704 and #2192, then inspect the server's WebDAV property handling and root-folder response path. Done means exposing nc:pendingShares with the specified JSON fields, while confirming the property is populated only for the root folder and remains fast to retrieve.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- php
- Domain
- api, backend
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 30/100