This topic describes the syntax of the DumpMeta operation and provides examples of this operation. You can call this operation to create a task for exporting metadata from an Image Search instance.
Usage Notes
This operation creates a task for exporting metadata from an Image Search instance.
QPS limits
By default, the maximum number of queries supported by this operation is 1. In this case, the system can process at most 1 request every second.
Debugging
Request parameters
Name | Type | Required | Example | Description |
---|---|---|---|---|
Action | String | Yes | DumpMeta |
The operation that you want to perform. Set the value to DumpMeta. |
InstanceName | String | Yes | imagesearchName |
The name of the instance. |
Response parameters
Name | Type | Example | Description |
---|---|---|---|
RequestId | String | 36C43E96-8F68-44AA-B1AF-B1F7AB94A6C1 |
The ID of the request. |
Success | Boolean | true |
Indicates whether the request is successful. |
Data | Object |
The information about the export task. |
|
DumpMetaStatus | String | PROCESSING |
The status of the export task.
|
Id | String | 500 |
The ID of the export task. |
Examples
Sample requests
{
"InstanceName":"xxxx"
}
Sample success responses
JSON
format
HTTP/1.1 200 OK
Content-Type:application/json
{
"RequestId" : "XXXX-CC94-XXXX-BB4C-XXXX",
"Data" : {
"DumpMetaStatus" : "PROCESSING",
"Id" : 500
},
"Success" : true
}
Error codes
HttpCode | Error code | Error message | Description |
---|---|---|---|
400 | InvalidInstance | The specified instance name is invalid. | The error message returned because the instance name is invalid. |
400 | Console.BadRequest | The request has invalid parameters. | The error message returned because the request is invalid. Check the request parameters. |
400 | Console.InstanceNotFound | The specified ImageSearch instance is not found. | The error message returned because the instance cannot be found. Check the instance ID. |
401 | Console.LoginError | Check login failed. | The error message returned because the logon failed. Check the username, password, and email address. |
403 | Console.NoPermission | You are not authorized to this operation. | The error message returned because you are not authorized to perform this operation. Acquire the required permissions from the administrator. |
409 | Console.InstanceStatusError | Current Instance status not supported this opreate. | The error message returned because the instance is in an unavailable state. Check the instance status. |
409 | Console.OrderStatusError | Current Order status not supported this opreate. | The error message returned because the order is invalid. Check the status of the order. |
409 | Console.IncrementStatusError | Current Increment status not supported this opreate. | The error message returned because the incremental update status is invalid. Check the incremental update status of the instance. |
409 | Console.TaskAlreadyExist | A task that is in progress already exists. | The error message returned because a task is already in progress. |
500 | Console.InternalError | The request processing has failed due to some unknown error. | The error message returned because a server error occurred. Log on to the Alibaba Cloud Management console and submit a ticket. |
500 | Console.CallServiceError | An internal service error occurred. | The error message returned because an internal error occurred. |
For a list of error codes, visit the API Error Center.
Error codes
For a list of error codes, visit the API Error Center.