透過分頁的形式查詢應用下每個介面的請求量、錯誤數、平均回應時間三種效能資料。可透過回傳資訊中的Completed欄位判斷分頁是否結束。如未結束,CurrentPage參數加一後繼續發起查詢即可。
調試
您可以在OpenAPI Explorer中直接運行該介面,免去您計算簽名的困擾。運行成功後,OpenAPI Explorer可以自動產生SDK程式碼範例。
調試
授權資訊
|
操作 |
存取層級 |
資源類型 |
條件關鍵字 |
關聯操作 |
|
arms:GetAppApiPageInfo |
none |
*全部資源。
|
無 | 無 |
請求參數
|
名稱 |
類型 |
必填 |
描述 |
樣本值 |
| RegionId |
string |
是 |
地域 ID。 |
cn-hangzhou |
| StartTime |
integer |
否 |
開始時間的時間戳記,精確到毫秒。 |
1600063200000 |
| EndTime |
integer |
否 |
結束時間的時間戳記,精確到毫秒。 |
1600066800000 |
| CurrentPage |
integer |
否 |
查詢結果的頁碼。 |
1 |
| PageSize |
integer |
否 |
此參數已不支援使用。查詢結果的每頁項目數量。預設為 10。 |
10 |
| IntervalMills |
integer |
否 |
資料片段的時間間隔,單位為毫秒,最小值為 60000,最大值為 2147483647。 |
60000 |
| PId |
string |
是 |
應用 ID。 在 ARMS 主控台的應用監控>應用列表頁面按一下目標應用名稱。此時瀏覽器網址列中的 URL 即包含應用的 pid,格式為 pid=xxx。由於瀏覽器進行了編碼,因此需要對 pid 稍作修改。例如,如果 URL 中包含的 pid 為 xxx%4074xxx,則需要將%40 取代為@,即:xxx@74xxx。 |
a2n80plglh@745eddxxx |
返回參數
|
名稱 |
類型 |
描述 |
樣本值 |
|
object |
|||
| Code |
integer |
介面狀態。
|
200 |
| Message |
string |
回傳結果的提示資訊。 |
message |
| RequestId |
string |
請求 ID。 |
B6A00968-82A8-4F14-9D1B-B53827DB**** |
| Success |
boolean |
查詢是否成功。
|
true |
| Data |
object |
回傳結構體。 |
|
| PageSize |
integer |
回傳結果的每頁項目數量。 |
10 |
| Total |
string |
回傳結果的總項目數量。 說明
此參數的回傳值為估算值,僅用於分頁結束判斷,不代表實際的資料總量。 |
2 |
| Page |
integer |
回傳結果的頁碼。 |
1 |
| Completed |
boolean |
分頁查詢是否結束。
|
false |
| Items |
array<object> |
回傳應用介面的黃金三指標資料。 |
|
|
object |
介面的黃金三指標資料。 |
[] |
樣本
正常返回樣本
JSON格式
{
"Code": 200,
"Message": "message",
"RequestId": "B6A00968-82A8-4F14-9D1B-B53827DB****",
"Success": true,
"Data": {
"PageSize": 10,
"Total": "2",
"Page": 1,
"Completed": false,
"Items": [
[]
]
}
}
錯誤碼
|
HTTP status code |
錯誤碼 |
錯誤資訊 |
描述 |
|---|---|---|---|
| 452 | OperationTimeOut | The system timed out when processing the current request. The request may involve too many resources and the system cannot complete the processing within the limited time. Please adjust the relevant conditions and try again. | 系統在處理目前請求時發生了逾時,可能是請求涉及的資源過多導致系統無法在限定時間內處理完畢,請調整相關條件後重試。 |
| 400 | ParameterIllegal | The specified parameter is invalid. | 參數無效。 |
| 400 | ParameterRegionIllegal | The specified region is invalid. | 區域參數無效。 |
| 500 | InternalError | Internal error. Please try again. Contact the DingTalk service account if the issue persists after multiple retries. | 內部錯誤,建議重試。如果多次重試發生錯誤,請聯絡 DingTalk 服務帳號。 |
| 403 | RetcodeDailyCustomLimit | Usage today has exceeded the custom limit. The current operation is prohibited. | 今日使用額度已經超過自訂額度,目前操作被禁止。 |
| 403 | RetcodeDailyFreeLimit | Usage today has exceeded the Essential Edition limit. The current operation is prohibited. | 今日使用額度已經超過基礎版限定量,目前操作被禁止。 |
| 404 | AppNotExist | The application does not exist. | 應用程式不存在。 |
| 404 | RunningTaskNotExist | Application data collection task does not exist or has been stopped. | 應用資料採集任務不存在或已停止。 |
| 429 | OperationIsThrottled | The backend service cannot fully process the current request. The returned result may be incomplete. Adjust the operation conditions and try again. | 後端服務無法完整地處理目前請求,傳回結果可能是不完整的,請調整操作條件後重試。 |
訪問錯誤中心查看更多錯誤碼。
變更歷史
更多資訊,參考變更詳情。