diff --git a/api/openapi-spec/v1.0.yaml b/api/openapi-spec/v1.0.yaml index c8e2708..e1a182f 100644 --- a/api/openapi-spec/v1.0.yaml +++ b/api/openapi-spec/v1.0.yaml @@ -2100,6 +2100,7 @@ paths: schema: type: string x-ms-docs-key-type: drive + - $ref: '#/components/parameters/driveItemSelect' responses: '200': description: Retrieved resource @@ -2430,6 +2431,8 @@ paths: - me.drive.root summary: Get root from personal space operationId: HomeGetRoot + parameters: + - $ref: '#/components/parameters/driveItemSelect' responses: '200': description: Retrieved resource @@ -2446,6 +2449,8 @@ paths: - me.drive.root.children summary: Get children from drive operationId: HomeGetChildren + parameters: + - $ref: '#/components/parameters/driveItemSelect' responses: '200': description: Retrieved resource list @@ -4990,6 +4995,18 @@ components: '@UI.Hidden': description: Properties or facets (see UI.Facet) annotated with this term will not be rendered if the annotation evaluates to true. Users can set this to hide permissions. type: boolean + '@libre.graph.permissions.actions.allowedValues': + type: array + description: | + A list of actions the caller is allowed to perform on this item. + + Only returned when explicitly requested via `$select` on endpoints + that support it. Mirrors the annotation of the same name on the + `/permissions` endpoint, allowing clients to learn a caller's + effective actions on an item without a separate round-trip. + items: + type: string + readOnly: true sharingLinkType: type: string enum: [ internal, view, upload, edit, createOnly, blocksDownload ] @@ -5996,11 +6013,15 @@ components: items: enum: - '@microsoft.graph.downloadUrl' + - '@libre.graph.permissions.actions.allowedValues' type: string examples: request download url: value: - '@microsoft.graph.downloadUrl' + request allowed actions: + value: + - '@libre.graph.permissions.actions.allowedValues' drivesFilter: name: $filter in: query