From ba89a864bb4548623ca1bfcfc9ab6eb7fe782603 Mon Sep 17 00:00:00 2001 From: Mohamed Bassem Date: Wed, 16 Apr 2025 19:04:25 +0000 Subject: fix: Add includeContent to search endpoint and document it in the docs --- packages/open-api/hoarder-openapi-spec.json | 55 +++++++++++++++++++++++++++++ 1 file changed, 55 insertions(+) (limited to 'packages/open-api/hoarder-openapi-spec.json') diff --git a/packages/open-api/hoarder-openapi-spec.json b/packages/open-api/hoarder-openapi-spec.json index dfe7c761..9a1d8634 100644 --- a/packages/open-api/hoarder-openapi-spec.json +++ b/packages/open-api/hoarder-openapi-spec.json @@ -564,6 +564,17 @@ "required": false, "name": "cursor", "in": "query" + }, + { + "schema": { + "type": "boolean", + "default": true, + "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks." + }, + "required": false, + "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.", + "name": "includeContent", + "in": "query" } ], "responses": { @@ -778,6 +789,17 @@ "required": false, "name": "cursor", "in": "query" + }, + { + "schema": { + "type": "boolean", + "default": true, + "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks." + }, + "required": false, + "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.", + "name": "includeContent", + "in": "query" } ], "responses": { @@ -809,6 +831,17 @@ "parameters": [ { "$ref": "#/components/parameters/BookmarkId" + }, + { + "schema": { + "type": "boolean", + "default": true, + "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks." + }, + "required": false, + "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.", + "name": "includeContent", + "in": "query" } ], "responses": { @@ -1965,6 +1998,17 @@ "required": false, "name": "cursor", "in": "query" + }, + { + "schema": { + "type": "boolean", + "default": true, + "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks." + }, + "required": false, + "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.", + "name": "includeContent", + "in": "query" } ], "responses": { @@ -2374,6 +2418,17 @@ "required": false, "name": "cursor", "in": "query" + }, + { + "schema": { + "type": "boolean", + "default": true, + "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks." + }, + "required": false, + "description": "If set to true, bookmark's content will be included in the response. Note, this content can be large for some bookmarks.", + "name": "includeContent", + "in": "query" } ], "responses": { -- cgit v1.2.3-70-g09d2