From c590e9df4ac9dc520dec12d29b584e5dc011bd7e Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sun, 9 Aug 2026 13:14:07 +0000 Subject: [PATCH] feat: add @libre.graph.shareTypes to driveItem --- api/openapi-spec/v1.0.yaml | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/api/openapi-spec/v1.0.yaml b/api/openapi-spec/v1.0.yaml index a354f86..f39f4e5 100644 --- a/api/openapi-spec/v1.0.yaml +++ b/api/openapi-spec/v1.0.yaml @@ -5243,6 +5243,25 @@ components: items: type: string readOnly: true + '@libre.graph.shareTypes': + type: array + description: | + The types of shares existing on this item, aggregated over all of + its grants. Absent or empty if the item is not shared. + + This is a summary of the item's `permissions` collection. For the + full grants use the permissions endpoints, for the caller's own + capabilities use `@libre.graph.permissions.actions.allowedValues`. + + Only returned when explicitly requested via `$select`. + items: + type: string + enum: + - user + - group + - link + - remote + readOnly: true sharingLinkType: type: string enum: [ internal, view, upload, edit, createOnly, blocksDownload ]