feat: [OCISDEV-518] Added the graph endpoint alias#11871
Merged
Conversation
mmattel
reviewed
Dec 15, 2025
a8709e8 to
67fdab9
Compare
mmattel
reviewed
Dec 16, 2025
Co-authored-by: Martin <github@diemattels.at>
541def8 to
ea06ca1
Compare
|
kobergj
approved these changes
Dec 22, 2025
ownclouders
pushed a commit
that referenced
this pull request
Dec 22, 2025
* feat: [OCISDEV-518] Added the graph endpointis alias * Update changelog/unreleased/enhancement-add-graph-endpoint.md Co-authored-by: Martin <github@diemattels.at> --------- Co-authored-by: Martin <github@diemattels.at>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.



Description
The OCIS backend exposes the graph api v1 and v1beta1. The /graph/v1/drives/{id} endpoint is available only in v1 and returns the role aliases against the role ID in a v1beta1. Then, the web converts the role aliases to ID via hardcoded mapping. web/packages/web-client/src/graph/drives/drives.ts at 21b74354803b09ca6abc1175a0419e6390e6d466 · owncloud/web
We should implement the v1beta1 for /graph/{api_version}/drives/{id}
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: