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

implement listing shares in spaces #2622

Merged
merged 2 commits into from
Mar 15, 2022
Merged

Conversation

C0rby
Copy link
Contributor

@C0rby C0rby commented Mar 7, 2022

Instead of the query parameter path one can now send space_ref to
list shares in spaces. The URL would look like this:
https://localhost:9200/ocs/v1.php/apps/files_sharing/api/v1/shares?reshares=true&space_ref=ae96eb17-1b37-4bfc-8ed6-9c044723a43f/elmo.gif
The difference to the 'old' URL is the parameter space_ref instead of the path parameter.
path is always assumed to be relative to the users home and space_ref is the combined spaceid and the path relative to the space root.

@C0rby C0rby self-assigned this Mar 7, 2022
@C0rby C0rby requested review from a team, labkode, ishank011 and glpatcern as code owners March 7, 2022 11:59
@C0rby C0rby marked this pull request as draft March 7, 2022 11:59
Instead of the query parameter `path` one can now send `space_ref` to
list shares in spaces. The url would look like this:
`https://localhost:9200/ocs/v1.php/apps/files_sharing/api/v1/shares?reshares=true&space_ref=ae96eb17-1b37-4bfc-8ed6-9c044723a43f/elmo.gif`
@@ -34,7 +34,7 @@ cn="cn"
driver = "ldap"

[grpc.services.userprovider.drivers.ldap]
hostname="ldap"
hostname="localhost"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

that one shouldn't change?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why not? The toml files are for local integration tests. I don't have a container 'ldap' locally.

pkg/utils/utils.go Outdated Show resolved Hide resolved
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants