diff --git a/openapi.json b/openapi.json index 8e561db1..44642d31 100644 --- a/openapi.json +++ b/openapi.json @@ -14,7 +14,7 @@ "url": "http://www.apache.org/licenses/LICENSE-2.0" }, "version": "2.0.0", - "x-box-commit-hash": "87c431c362" + "x-box-commit-hash": "98d60db47f" }, "servers": [ { @@ -17807,6 +17807,51 @@ ] } }, + "/collections/{collection_id}": { + "get": { + "operationId": "get_collections_id", + "summary": "Get collection by ID", + "description": "Retrieves a collection by its ID.", + "parameters": [ + { + "name": "collection_id", + "in": "path", + "description": "The ID of the collection.", + "required": true, + "schema": { + "type": "string" + }, + "example": "926489" + } + ], + "responses": { + "200": { + "description": "Returns an array of items in the collection.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/Collection" + } + } + } + }, + "default": { + "description": "An unexpected client error.", + "content": { + "application/json": { + "schema": { + "$ref": "#/components/schemas/ClientError" + } + } + } + } + }, + "x-box-tag": "collections", + "tags": [ + "Collections" + ] + } + }, "/recent_items": { "get": { "operationId": "get_recent_items",