Collections
List collection repositories
List the repositories of collection.
get/collections/{collection_id}/repos/
Path parameters
collection_idnumber required
The ID of collection
Response
Default Response
Example response
{
"type": "sql_endpoint",
"data": {
"columns": [
{
"col": "repo_id",
"data_type": "BIGINT",
"nullable": false
},
{
"col": "repo_name",
"data_type": "VARCHAR",
"nullable": false
}
],
"rows": [
{
"repo_id": "507775",
"repo_name": "elastic/elasticsearch"
},
{
"repo_id": "41986369",
"repo_name": "pingcap/tidb"
},
{
"repo_id": "60246359",
"repo_name": "clickhouse/clickhouse"
},
{
"repo_id": "108110",
"repo_name": "mongodb/mongo"
},
{
"repo_id": "48833910",
"repo_name": "tikv/tikv"
}
],
"result": {
"code": 200,
"message": "Query OK!",
"start_ms": 1690957407469,
"end_ms": 1690957407499,
"latency": "30ms",
"row_count": 5,
"row_affect": 0,
"limit": 50,
"databases": [
"gharchive_dev"
]
}
}
}Changes
Changed in 3 of the 11 revisions of this API.241
- ▲
added the new path request parameter
collection_idnew-request-path-parameter
- ●
removed the optional property
///from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
///from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
///from the response with the statusresponse-optional-property-removed
- ●
removed the optional property
///from the response with the statusresponse-optional-property-removed
- ▲
- ○
endpoint added
endpoint-added
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
- ▲