From 51d50812ceaa267af208c2454414ccf4c8fc626b Mon Sep 17 00:00:00 2001 From: Dominik Schmidt Date: Sun, 9 Aug 2026 13:14:58 +0000 Subject: [PATCH] feat: add @libre.graph.lock facet to driveItem --- api/openapi-spec/v1.0.yaml | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) diff --git a/api/openapi-spec/v1.0.yaml b/api/openapi-spec/v1.0.yaml index a354f86..eea5093 100644 --- a/api/openapi-spec/v1.0.yaml +++ b/api/openapi-spec/v1.0.yaml @@ -5200,6 +5200,9 @@ components: '@libre.graph.livePhoto': description: Live Photo metadata, if the item is part of an Apple Live Photo. Read-only. $ref: '#/components/schemas/livePhoto' + '@libre.graph.lock': + description: Lock information, present while the item is locked for writing. Read-only. + $ref: '#/components/schemas/lock' '@client.synchronize': description: Indicates if the item is synchronized with the underlying storage provider. Read-only. type: boolean @@ -5554,6 +5557,32 @@ components: (com.apple.quicktime.live-photo.vitality-scoring-version). Only present on the video half. Read-only. readOnly: true + lock: + type: object + readOnly: true + description: | + Information about a write lock on an item, for example one held by an + office application. The presence of this facet indicates that the item + is locked. + properties: + appName: + type: string + description: Name of the application holding the lock. Read-only. + readOnly: true + ownerName: + type: string + description: Display name of the user holding the lock. Read-only. + readOnly: true + lockedDateTime: + type: string + format: date-time + description: Time the lock was acquired. Read-only. + readOnly: true + expirationDateTime: + type: string + format: date-time + description: Time the lock expires, if a timeout is set. Read-only. + readOnly: true geoCoordinates: type: object readOnly: true