Skip to content

Commit 2953adb

Browse files
committed
feat: document GET /v1.0/users/{user-id}/drive
1 parent 46b7ac7 commit 2953adb

1 file changed

Lines changed: 29 additions & 0 deletions

File tree

api/openapi-spec/v1.0.yaml

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3117,6 +3117,35 @@ paths:
31173117
default:
31183118
$ref: '#/components/responses/error'
31193119
x-ms-docs-operation-type: operation
3120+
'/v1.0/users/{user-id}/drive':
3121+
get:
3122+
tags:
3123+
- user.drive
3124+
summary: Get a user's drive.
3125+
operationId: GetUserDrive
3126+
description: |
3127+
Get the personal Drive of the user identified by `user-id`.
3128+
3129+
Modeled on the MS Graph get drive endpoint
3130+
(https://learn.microsoft.com/en-us/graph/api/drive-get).
3131+
parameters:
3132+
- name: user-id
3133+
in: path
3134+
description: 'key: id or name of user'
3135+
required: true
3136+
schema:
3137+
type: string
3138+
x-ms-docs-key-type: user
3139+
responses:
3140+
'200':
3141+
description: Retrieved drive
3142+
content:
3143+
application/json:
3144+
schema:
3145+
$ref: '#/components/schemas/drive'
3146+
default:
3147+
$ref: '#/components/responses/error'
3148+
x-ms-docs-operation-type: operation
31203149
'/v1.0/users/{user-id}/exportPersonalData':
31213150
post:
31223151
tags:

0 commit comments

Comments
 (0)