Queries DNA libraries.
Operation description
This operation returns the status and information of DNA libraries based on their IDs.
Text DNA-related features are currently supported only in the China (Shanghai) region.
You can query up to 10 DNA libraries in a single call.
QPS limits
The QPS limit for a single user is 100 calls per second. If the limit is exceeded, API calls are throttled, which may affect your business. Make API calls at a reasonable rate. For more information, see QPS limits.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
mts:ListFpShotDB |
get |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| FpDBIds |
string |
No |
The list of DNA library IDs. You can obtain the IDs from the response parameters of the Submit a new DNA library operation. You can query up to 10 IDs at a time. Separate multiple IDs with commas (,). |
2288c6ca184c0e47098a5b665e2a12****,ae687c02fe944327ba9631e50da2**** |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response parameters. |
||
| FpShotDBList |
object |
||
| FpShotDB |
array<object> |
The list of DNA libraries. |
|
|
object |
The details of the DNA library. |
||
| Status |
string |
The status of the DNA library. Default value: offline. active indicates that the DNA library is available. Valid values:
|
active |
| Description |
string |
The description of the DNA library. |
This is a text DNA library. |
| Name |
string |
The name of the DNA library. |
test-**** |
| ModelId |
integer |
The model ID of the DNA library. The model ID is 11 for text DNA, 12 for video DNA, 13 for audio DNA, and 14 for image DNA. |
11 |
| FpDBId |
string |
The ID of the DNA library. |
88c6ca184c0e47098a5b665e2a12**** |
| RequestId |
string |
The request ID. |
25818875-5F78-4A13-BEF6-D7393642CA58 |
| NonExistIds |
object |
||
| String |
array |
The list of DNA library IDs that do not exist. |
|
|
string |
The DNA library ID that does not exist. This parameter is not returned if no data exists. |
ae687c02fe944327ba9631e50da2**** |
Examples
Success response
JSON format
{
"FpShotDBList": {
"FpShotDB": [
{
"Status": "active",
"Description": "This is a text DNA library.",
"Name": "test-****",
"ModelId": 11,
"FpDBId": "88c6ca184c0e47098a5b665e2a12****"
}
]
},
"RequestId": "25818875-5F78-4A13-BEF6-D7393642CA58",
"NonExistIds": {
"String": [
"ae687c02fe944327ba9631e50da2****"
]
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.