nextcloud / nextcloud/server

Shared API

Open
#4,159 6 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

1. to develop enhancement feature: sharing
Dominant language
PHP
Stars
36.9k
Forks
5.2k
Avg merge
2d 3h
Merged PRs (30d)
713

Description

Greetings humans,

I currently use /ocs/v1.php/apps/files_sharing/api/v1/shares to get a list of shares. I am aware that there is a query parameter shared_with_me that allows me to either get files shared by me or with me. I want a query parameter that allows me to get BOTH in one request.

Thank you all.

cc @AndyScherzinger @icewind1991 @schiessle

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by tracing the OCS sharing endpoint at /ocs/v1.php/apps/files_sharing/api/v1/shares and inspect how the shared_with_me query parameter is handled. The work is done when one request can return both shares made by and shared with the user, while existing request modes continue to work; no test file is named in the issue.

Written by the indexing model from the issue text.

Assessment

Tech stack
php
Domain
api, backend
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
45/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.