ListSearchLib
Queries the search library list by paging and returns the name, status, configuration, and index information of each search library.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:ListSearchLib |
list |
*All Resource
|
None | None |
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. Maximum 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 is successful. |
true |
| Code |
string |
The return code. |
200 |
| SearchLibInfoList |
array<object> |
The list of search library information. |
|
|
array<object> |
The search library information. |
||
| SearchLibName |
string |
The search library name. |
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. Default value: Active. Valid values:
|
Active |
| IndexReadiness |
string |
The index readiness status. Valid values:
|
Normal |
| SearchLibConfig |
string |
The search library configuration. |
{"faceGroupIds":"xxx1,xxx2,xx3"} |
| Total |
integer |
The total count. |
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.