From ebea39004b1708b2cf3910756694e5b46ca7b76e Mon Sep 17 00:00:00 2001 From: Claude Date: Tue, 10 Nov 2026 11:07:06 +0000 Subject: [PATCH] Document expiresAt on public share links Adds the new expiresAt field to the Share schema and to the shares.create and shares.update request bodies, following the addition of expiry dates for public share links in outline/outline. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_016MJXFh5PApxZ4fHzTyCULE --- spec3.json | 18 ++++++++++++++++++ spec3.yml | 18 ++++++++++++++++++ 2 files changed, 36 insertions(+) diff --git a/spec3.json b/spec3.json index a908719..3391a65 100644 --- a/spec3.json +++ b/spec3.json @@ -9151,6 +9151,12 @@ "type": "string", "format": "uuid", "description": "Identifier for the collection to share. Mutually exclusive with `documentId`." + }, + "expiresAt": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "Date and time when the public share link should expire and no longer be accessible. Set to `null` for no expiry." } }, "oneOf": [ @@ -9239,6 +9245,12 @@ "maxLength": 4096, "nullable": true, "description": "URL of an icon to display on the publicly shared page, overriding the workspace branding." + }, + "expiresAt": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "Date and time when the public share link should expire and no longer be accessible. Set to `null` for no expiry." } }, "required": [ @@ -13467,6 +13479,12 @@ "type": "boolean", "description": "Whether to show a table of contents on the shared page." }, + "expiresAt": { + "type": "string", + "format": "date-time", + "nullable": true, + "description": "Date and time when the public share link expires and can no longer be accessed. If not set the link does not expire." + }, "views": { "type": "number", "description": "The number of times the shared page has been viewed.", diff --git a/spec3.yml b/spec3.yml index 7c59775..699d024 100644 --- a/spec3.yml +++ b/spec3.yml @@ -6425,6 +6425,12 @@ paths: type: string format: uuid description: Identifier for the collection to share. Mutually exclusive with `documentId`. + expiresAt: + type: string + format: date-time + nullable: true + description: Date and time when the public share link should expire + and no longer be accessible. Set to `null` for no expiry. oneOf: - required: - documentId @@ -6487,6 +6493,12 @@ paths: description: URL of an icon to display on the publicly shared page, overriding the workspace branding. + expiresAt: + type: string + format: date-time + nullable: true + description: Date and time when the public share link should expire + and no longer be accessible. Set to `null` for no expiry. required: - id - published @@ -9545,6 +9557,12 @@ components: showTOC: type: boolean description: Whether to show a table of contents on the shared page. + expiresAt: + type: string + format: date-time + nullable: true + description: Date and time when the public share link expires and can no + longer be accessed. If not set the link does not expire. views: type: number description: The number of times the shared page has been viewed.