Skip to content

Commit 966decb

Browse files
authored
feat: Support get collection by ID endpoint (#480)
1 parent 78a6b16 commit 966decb

File tree

1 file changed

+46
-1
lines changed

1 file changed

+46
-1
lines changed

openapi.json

Lines changed: 46 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
"url": "http://www.apache.org/licenses/LICENSE-2.0"
1515
},
1616
"version": "2.0.0",
17-
"x-box-commit-hash": "87c431c362"
17+
"x-box-commit-hash": "98d60db47f"
1818
},
1919
"servers": [
2020
{
@@ -17807,6 +17807,51 @@
1780717807
]
1780817808
}
1780917809
},
17810+
"/collections/{collection_id}": {
17811+
"get": {
17812+
"operationId": "get_collections_id",
17813+
"summary": "Get collection by ID",
17814+
"description": "Retrieves a collection by its ID.",
17815+
"parameters": [
17816+
{
17817+
"name": "collection_id",
17818+
"in": "path",
17819+
"description": "The ID of the collection.",
17820+
"required": true,
17821+
"schema": {
17822+
"type": "string"
17823+
},
17824+
"example": "926489"
17825+
}
17826+
],
17827+
"responses": {
17828+
"200": {
17829+
"description": "Returns an array of items in the collection.",
17830+
"content": {
17831+
"application/json": {
17832+
"schema": {
17833+
"$ref": "#/components/schemas/Collection"
17834+
}
17835+
}
17836+
}
17837+
},
17838+
"default": {
17839+
"description": "An unexpected client error.",
17840+
"content": {
17841+
"application/json": {
17842+
"schema": {
17843+
"$ref": "#/components/schemas/ClientError"
17844+
}
17845+
}
17846+
}
17847+
}
17848+
},
17849+
"x-box-tag": "collections",
17850+
"tags": [
17851+
"Collections"
17852+
]
17853+
}
17854+
},
1781017855
"/recent_items": {
1781117856
"get": {
1781217857
"operationId": "get_recent_items",

0 commit comments

Comments
 (0)