調(diào)用QueryTaskDetailHistory分頁查詢指定域名任務(wù)的詳情歷史列表。
調(diào)試
您可以在OpenAPI Explorer中直接運(yùn)行該接口,免去您計(jì)算簽名的困擾。運(yùn)行成功后,OpenAPI Explorer可以自動生成SDK代碼示例。
授權(quán)信息
下表是API對應(yīng)的授權(quán)信息,可以在RAM權(quán)限策略語句的Action
元素中使用,用來給RAM用戶或RAM角色授予調(diào)用此API的權(quán)限。具體說明如下:
- 操作:是指具體的權(quán)限點(diǎn)。
- 訪問級別:是指每個(gè)操作的訪問級別,取值為寫入(Write)、讀取(Read)或列出(List)。
- 資源類型:是指操作中支持授權(quán)的資源類型。具體說明如下:
- 對于必選的資源類型,用背景高亮的方式表示。
- 對于不支持資源級授權(quán)的操作,用
全部資源
表示。
- 條件關(guān)鍵字:是指云產(chǎn)品自身定義的條件關(guān)鍵字。
- 關(guān)聯(lián)操作:是指成功執(zhí)行操作所需要的其他權(quán)限。操作者必須同時(shí)具備關(guān)聯(lián)操作的權(quán)限,操作才能成功。
操作 | 訪問級別 | 資源類型 | 條件關(guān)鍵字 | 關(guān)聯(lián)操作 |
---|---|---|---|---|
domain:QueryDomainTask | get |
|
| 無 |
請求參數(shù)
名稱 | 類型 | 必填 | 描述 | 示例值 |
---|---|---|---|---|
Lang | string | 否 | 接口返回錯(cuò)誤信息語言。取值:
默認(rèn)為 en。 | en |
UserClientIp | string | 否 | 用戶 IP。 | 127.0.0.1 |
TaskNo | string | 是 | 任務(wù)編號。 說明
任務(wù)編號可通過 QueryTaskList 接口查詢。
| 75addb07-28a3-450e-b5ec-test |
DomainName | string | 否 | 域名。 | example.com |
DomainNameCursor | string | 否 | 域名游標(biāo)。 | example.com |
TaskStatus | integer | 否 | 任務(wù)狀態(tài)。取值:
| 0 |
PageSize | integer | 是 | 分頁大小。 | 1 |
TaskDetailNoCursor | string | 否 | 任務(wù)詳情游標(biāo)。 | 75addb07-28a3-450e-b5ec |
返回參數(shù)
示例
正常返回示例
JSON
格式
{
"PageSize": 2,
"RequestId": "548CAE74-88F8-402F-8C12-97E747389C51",
"CurrentPageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-2342",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S1234456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_SUCCESS",
"TaskStatusCode": 2,
"TaskTypeDescription": "修改DNS",
"TryCount": 0,
"ErrorMsg": "執(zhí)行成功"
},
"NextPageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-2424",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S1234567890",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新鎖"
},
"PrePageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-123",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S123456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新鎖"
},
"Objects": [
{
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-4234",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S123456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新鎖"
}
]
}
JSON
格式
{
"PageSize": 2,
"RequestId": "548CAE74-88F8-402F-8C12-97E747389C51",
"CurrentPageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-2342",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S1234456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_SUCCESS",
"TaskStatusCode": 2,
"TaskTypeDescription": "修改DNS",
"TryCount": 0,
"ErrorMsg": "執(zhí)行成功"
},
"NextPageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-2424",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S1234567890",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新鎖"
},
"PrePageCursor": {
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-123",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S123456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新鎖"
},
"Objects": [
{
"UpdateTime": "2019-07-30 00:00:00",
"TaskDetailNo": "75addb07-28a3-450e-b5ec-4234",
"CreateTime": "2019-07-30 00:00:00",
"InstanceId": "S123456789",
"DomainName": "example.com",
"TaskType": "CHG_DNS",
"TaskNo": "75addb07-28a3-450e-b5ec-test",
"TaskStatus": "EXECUTE_FAILURE",
"TaskStatusCode": 3,
"TaskTypeDescription": "修改DNS",
"TryCount": 5,
"ErrorMsg": "域名有禁止更新鎖"
}
]
}
錯(cuò)誤碼
訪問錯(cuò)誤中心查看更多錯(cuò)誤碼。