IncreaseList 操作を呼び出して、Image Search インスタンスのバッチタスクのリストを照会します。この Topic では、構文と例について説明します。
操作説明
操作の説明
この操作は、Image Search インスタンスのバッチタスクをクエリするために使用されます。
プロダクトの詳細やテクニカルサポートについては、オンライン相談をクリックするか、DingTalk グループ (35035130) を通じてお問い合わせください。
QPS 制限
クエリ操作のデフォルトの同時実行数は 1 で、1 秒あたりの最大値は 1 リクエストが処理されます。
今すぐお試しください
テスト
RAM 認証
|
アクション |
アクセスレベル |
リソースタイプ |
条件キー |
依存アクション |
|
imagesearch:IncreaseList |
*All Resource
|
なし | なし |
リクエストパラメーター
|
パラメーター |
型 |
必須 / 任意 |
説明 |
例 |
| InstanceName |
string |
必須 |
Image Search インスタンスの名前。名前は最大 20 文字です。 Image Search インスタンスを購入済みの場合は、Image Search コンソールにログオンしてインスタンス名を確認してください。 Image Search インスタンスを購入していない場合は、サービスのアクティブ化およびインスタンスの作成を参照してください。 説明
インスタンス名はインスタンス ID ではありません。インスタンス名は同じリージョン内で一意である必要があります。正しい値を使用していることを確認してください。 |
demoinstance1 |
| Id |
integer |
任意 |
バッチタスク ID。 説明
バッチタスク ID を取得するには、まずバッチ操作を呼び出し、応答から ID を取得してください。 |
500 |
| BucketName |
string |
任意 |
バケットの名前。 |
bucketName |
| Path |
string |
任意 |
OSS 内の increment.meta ファイルの絶対パス。パスはスラッシュ (/) で始まり、スラッシュ (/) で終わってはなりません。 |
/xxx/xxx |
| PageSize |
integer |
任意 |
返すエントリの数。デフォルト値: 10。 |
10 |
| PageNumber |
integer |
任意 |
返す最初のページのページ番号。デフォルト値: 1。 |
1 |
レスポンスフィールド
|
フィールド |
型 |
説明 |
例 |
|
object |
応答パラメーター。 |
||
| RequestId |
string |
リクエスト ID。 |
B3137727-7D6E-488C-BA21-0E034C38A879 |
| Data |
object |
バッチタスク情報。 |
|
| Increments |
object |
||
| Instance |
array<object> |
A list of batch tasks. |
|
|
object |
|||
| Msg |
string |
The error message returned. |
sucess |
| Status |
string |
The status of the batch task.
|
SUCCESS |
| UtcModified |
integer |
The time when the task was updated. Unit: milliseconds. |
1629095760000 |
| BucketName |
string |
The name of the Object Storage Service (OSS) bucket. |
bucketName |
| UtcCreate |
string |
The time when the task was created. Unit: milliseconds. |
1629095713000 |
| Code |
string |
The error code returned.
|
0 |
| Path |
string |
The absolute path to the increment.meta file in the bucket. The path must start with a forward slash (/) and cannot end with a forward slash (/). |
/xx/xx |
| ErrorUrl |
string |
The address where you can download the result. The address 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 address. |
http://xxxxx |
| PageSize |
integer |
返されたエントリの数。 |
10 |
| PageNumber |
integer |
現在のページ番号。 |
1 |
| TotalCount |
integer |
タスクの総数。 |
15 |
例
成功レスポンス
JSONJSON
{
"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
}
}
エラーコード
|
HTTP ステータスコード |
エラーコード |
エラーメッセージ |
説明 |
|---|---|---|---|
| 400 | InvalidInstance | The specified instance name is invalid. | |
| 400 | Console.BadRequest | The request has invalid parameters. | |
| 400 | Console.InstanceNotFound | The specified ImageSearch instance is not found. | |
| 401 | Console.LoginError | Check login failed. | |
| 500 | Console.InternalError | The request processing has failed due to some unknown error. | |
| 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. | |
| 409 | Console.IncrementStatusError | Current Increment status not supported this opreate. |
完全なリストについては、「エラーコード」をご参照ください。
変更履歴
完全なリストについては、「変更履歴」をご参照ください。