Retrieves a list of search libraries.
Try it now
Test
RAM authorization
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| PageNo |
integer |
No |
The current page number. The default value is 1. |
1 |
| PageSize |
integer |
No |
The number of entries to return on each page. The default value is 10. The maximum value is 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 return code. |
200 |
| SearchLibInfoList |
array<object> |
A list of information about the search libraries. |
|
|
array<object> |
Information about the search library. |
||
| SearchLibName |
string |
The search library. |
faceSearchLib |
| Status |
string |
The status. Valid values:
Valid values:
|
normal |
| IndexInfo |
array<object> |
The index information. |
|
|
object |
|||
| IndexType |
string |
The index type. Valid values:
|
face |
| IndexStatus |
string |
The index status. The default value is 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 for a complete list.
Release notes
See Release Notes for a complete list.