From 297ef98f4255c36c686e57d92cc4ce1030e72aa3 Mon Sep 17 00:00:00 2001 From: Claude Date: Sun, 25 Oct 2026 11:08:55 +0000 Subject: [PATCH] Document pagination on views.list views.list now accepts offset/limit pagination (default limit 100) and echoes the applied values in a pagination key, matching the change in outline/outline#14278. Co-Authored-By: Claude Opus 4.8 Claude-Session: https://claude.ai/code/session_01Tf82GepMYG8b4dR9td81rb --- spec3.json | 36 +++++++++++++++++++++++------------- spec3.yml | 28 ++++++++++++++++------------ 2 files changed, 39 insertions(+), 25 deletions(-) diff --git a/spec3.json b/spec3.json index 96464f4..1df716e 100644 --- a/spec3.json +++ b/spec3.json @@ -11406,21 +11406,28 @@ "content": { "application/json": { "schema": { - "type": "object", - "properties": { - "documentId": { - "type": "string", - "format": "uuid", - "description": "The document ID to retrieve views for" + "allOf": [ + { + "$ref": "#/components/schemas/Pagination" }, - "includeSuspended": { - "type": "boolean", - "description": "Whether to include views from suspended users", - "default": false + { + "type": "object", + "properties": { + "documentId": { + "type": "string", + "format": "uuid", + "description": "The document ID to retrieve views for" + }, + "includeSuspended": { + "type": "boolean", + "description": "Whether to include views from suspended users", + "default": false + } + }, + "required": [ + "documentId" + ] } - }, - "required": [ - "documentId" ] } } @@ -11439,6 +11446,9 @@ "items": { "$ref": "#/components/schemas/View" } + }, + "pagination": { + "$ref": "#/components/schemas/Pagination" } } } diff --git a/spec3.yml b/spec3.yml index d7aa1ef..ae6b5df 100644 --- a/spec3.yml +++ b/spec3.yml @@ -7917,18 +7917,20 @@ paths: content: application/json: schema: - type: object - properties: - documentId: - type: string - format: uuid - description: The document ID to retrieve views for - includeSuspended: - type: boolean - description: Whether to include views from suspended users - default: false - required: - - documentId + allOf: + - "$ref": "#/components/schemas/Pagination" + - type: object + properties: + documentId: + type: string + format: uuid + description: The document ID to retrieve views for + includeSuspended: + type: boolean + description: Whether to include views from suspended users + default: false + required: + - documentId responses: "200": description: OK @@ -7941,6 +7943,8 @@ paths: type: array items: "$ref": "#/components/schemas/View" + pagination: + "$ref": "#/components/schemas/Pagination" "401": "$ref": "#/components/responses/Unauthenticated" "403":