Skip to content

Commit

Permalink
fix: add get collection by ID endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
box-apimgmt committed Nov 4, 2024
1 parent 78a6b16 commit 90b1215
Showing 1 changed file with 46 additions and 1 deletion.
47 changes: 46 additions & 1 deletion openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": [
{
Expand Down Expand Up @@ -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",
Expand Down

0 comments on commit 90b1215

Please sign in to comment.