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.