IncreaseList
Queries the batch tasks in an Image Search instance.
Operation description
Usage notes
This operation queries batch tasks in an Image Search instance.
For more product details and technical support, click Online Consultation or contact us through the DingTalk group (35035130).
QPS limits
The default concurrency for query operations is 1. A maximum of 1 request can be processed per second.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
imagesearch:IncreaseList |
*All Resource
|
None | None |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| InstanceName |
string |
Yes |
The name of the Image Search instance. The name can be up to 20 characters in length. If you have purchased an Image Search instance, you can log on to the Image Search console to view the instance name. If you have not purchased an Image Search instance, refer to Activate the service and Create an instance. Note
The instance name is not the instance ID. The instance name must be unique within a region. Distinguish between the two when you use them. |
demoinstance1 |
| Id |
integer |
No |
The ID of the batch task. Note
To obtain the batch task ID, you must first perform a batch operation and extract the ID from the response. |
500 |
| BucketName |
string |
No |
The name of the bucket. |
bucketName |
| Path |
string |
No |
The absolute path of the increment.meta file in OSS. The path must start with a forward slash (/) and cannot end with a forward slash. |
/xxx/xxx |
| PageSize |
integer |
No |
The number of entries to return on each page. Default value: 10. |
10 |
| PageNumber |
integer |
No |
The page number of the returned results. Default value: 1. |
1 |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response. |
||
| RequestId |
string |
The ID of the request. |
B3137727-7D6E-488C-BA21-0E034C38A879 |
| Data |
object |
The returned batch task information. |
|
| Increments |
object |
||
| Instance |
array<object> |
The collection of batch tasks. |
|
|
object |
The details of the batch task. |
||
| Msg |
string |
The error message. |
sucess |
| Status |
string |
The status of the task. Valid values:
|
SUCCESS |
| UtcModified |
integer |
The time when the task was updated. Unit: milliseconds. |
1629095760000 |
| BucketName |
string |
The name of the bucket. |
bucketName |
| UtcCreate |
string |
The time when the task was created. Unit: milliseconds. |
1629095713000 |
| Code |
string |
The error code. Valid values:
|
0 |
| Path |
string |
The absolute path of the increment.meta file in OSS. The path must start with a forward slash (/) and cannot end with a forward slash. |
/xx/xx |
| ErrorUrl |
string |
The download URL of the results. The URL is valid for 2 hours. |
https://imagesearchname.oss-cn-shanghai.aliyuncs.com/xxx |
| Id |
integer |
The ID of the task. |
500 |
| CallbackAddress |
string |
The callback URL of the task. |
http://xxxxx |
| PageSize |
integer |
The number of returned entries. |
10 |
| PageNumber |
integer |
The current page number of the returned results. |
1 |
| TotalCount |
integer |
The total number of tasks. |
15 |
Examples
Success response
JSON format
{
"RequestId": "B3137727-7D6E-488C-BA21-0E034C38A879",
"Data": {
"Increments": {
"Instance": [
{
"Msg": "sucess",
"Status": "SUCCESS",
"UtcModified": 1629095760000,
"BucketName": "bucketName",
"UtcCreate": "1629095713000",
"Code": "0",
"Path": "/xx/xx",
"ErrorUrl": "https://imagesearchname.oss-cn-shanghai.aliyuncs.com/xxx",
"Id": 500,
"CallbackAddress": "http://xxxxx"
}
]
},
"PageSize": 10,
"PageNumber": 1,
"TotalCount": 15
}
}
Error codes
|
HTTP status code |
Error code |
Error message |
Description |
|---|---|---|---|
| 400 | InvalidInstance | The specified instance name is invalid. | The instance name is invalid. |
| 400 | Console.BadRequest | The request has invalid parameters. | Invalid request. Check the request parameters. |
| 400 | Console.InstanceNotFound | The specified ImageSearch instance is not found. | The specified instance ID does not exist. Check the instance ID and try again. |
| 401 | Console.LoginError | Check login failed. | Login failed, please check whether the user name, password and email address are entered incorrectly. |
| 500 | Console.InternalError | The request processing has failed due to some unknown error. | The server has an internal error. Log on to the Alibaba Cloud console to submit a ticket. |
| 500 | Console.CallServiceError | Fail to call service. | |
| 403 | Console.NoPermission | You are not authorized to this operation. | |
| 409 | Console.InstanceStatusError | Current Instance status not supported this opreate. | |
| 409 | Console.OrderStatusError | Current Order status not supported this opreate. | User order error, please confirm that the order is valid |
| 409 | Console.IncrementStatusError | Current Increment status not supported this opreate. | incremental update status error, please confirm the current examples of incremental state. |
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.