Retrieves a list of search libraries.
Try it now
Test
RAM authorization
Request parameters
Parameter | Type | Required | Description | Example |
PageNo | integer | No | The page number. Default value: 1. | 1 |
PageSize | integer | No | The number of entries to return on each page. Default value: 10. Max value: 50. | 10 |
Response elements
Element | Type | Description | Example |
object | Schema of Response | ||
RequestId | string | The request ID. | ******3B-0E1A-586A-AC29-742247****** |
Success | string | Indicates whether the request was successful. | true |
Code | string | The status code. | 200 |
| SearchLibInfoList | array<object> | Search library information. | |
array<object> | Information about a search library. | ||
SearchLibName | string | The search library. | faceSearchLib |
Status | string | The status of the search library. Valid values:
| normal |
| IndexInfo | array<object> | The index information. | |
object | |||
IndexType | string | The index type. Valid values:
| face |
IndexStatus | string | The index status. Default value: Active. Valid values:
| Active |
IndexReadiness | string | The readiness status of the index. Valid values:
| Normal |
SearchLibConfig | string | The search library configuration. | {"faceGroupIds":"xxx1,xxx2,xx3"} |
Total | integer | The total number of entries. | 8 |
Examples
Success response
JSON format
{
"RequestId": "******3B-0E1A-586A-AC29-742247******",
"Success": "true",
"Code": "200",
"SearchLibInfoList": [
{
"SearchLibName": "faceSearchLib",
"Status": "normal",
"IndexInfo": [
{
"IndexType": "face",
"IndexStatus": "Active",
"IndexReadiness": "Normal"
}
],
"SearchLibConfig": "{\"faceGroupIds\":\"xxx1,xxx2,xx3\"}"
}
],
"Total": 8
}Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.