Skip to content

Document GET /v1.0/users/{user-id}/drive - #54

Open
dschmidt wants to merge 1 commit into
mainfrom
spec/get-user-drive
Open

Document GET /v1.0/users/{user-id}/drive#54
dschmidt wants to merge 1 commit into
mainfrom
spec/get-user-drive

Conversation

@dschmidt

@dschmidt dschmidt commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Documents GET /v1.0/users/{user-id}/drive (GetUserDrive), which the OpenCloud graph service already serves but the spec never documented. Reuses the existing drive schema.

The server already implements the endpoint, but so far it only accepts the user's opaque id in the {user-id} segment, not a name, unlike the other user-addressed endpoints (GetUser etc.) which resolve id-or-name. MS Graph addresses this endpoint by id or userPrincipalName as well (see Get drive: GET /users/{idOrUserPrincipalName}/drive). That username resolution is being added in opencloud-eu/opencloud#3243 so the endpoint is consistent with its siblings and with MS Graph; this spec therefore documents the {user-id} parameter as "id or name of user". The two changes go together.

@dschmidt
dschmidt force-pushed the spec/get-user-drive branch 3 times, most recently from 0a84125 to fec3ab9 Compare August 5, 2026 10:35
@dschmidt
dschmidt force-pushed the spec/get-user-drive branch from fec3ab9 to 2953adb Compare August 5, 2026 11:13
@dschmidt
dschmidt marked this pull request as ready for review August 5, 2026 11:15
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.

1 participant