Queries information about a media asset search library.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
ice:QuerySearchLib |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| SearchLibName |
string |
Yes |
The name of the search library. |
test1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
Schema of Response |
||
| RequestId |
string |
The request ID. |
******11-DB8D-4A9A-875B-275798****** |
| Success |
string |
Indicates whether the call was successful.
|
true |
| Code |
string |
The return code. |
200 |
| SearchLibName |
string |
The name of the search library. |
test1 |
| Status |
string |
Status:
Valid values:
|
normal |
| IndexInfo |
array<object> |
The index information. |
|
|
object |
|||
| IndexType |
string |
The index type. Valid values:
|
face |
| IndexStatus |
string |
The status of the index. Valid values:
|
Active |
| IndexReadiness |
string |
The readiness status of the index. Valid values:
|
Normal |
| SearchLibConfig |
string |
The search library configuration. |
{"faceGroupIds":"xxx1,xxx2,xx3"} |
Examples
Success response
JSON format
{
"RequestId": "******11-DB8D-4A9A-875B-275798******",
"Success": "true",
"Code": "200",
"SearchLibName": "test1",
"Status": "normal",
"IndexInfo": [
{
"IndexType": "face",
"IndexStatus": "Active",
"IndexReadiness": "Normal"
}
],
"SearchLibConfig": "{\"faceGroupIds\":\"xxx1,xxx2,xx3\"}"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.