Method: anomalies.list
HTTP 要求
GET https://playdeveloperreporting.googleapis.com/v1beta1/{parent=apps/*}/anomalies
這個網址使用 gRPC 轉碼語法。
路徑參數
參數 |
parent |
string
必要欄位。父項應用程式偵測到異常狀況。 格式:apps/{app}
|
查詢參數
參數 |
filter |
string
異常狀況的篩選條件。如需基本篩選器指南,請參閱:https://google.aip.dev/160。 支援的函式:
activeBetween(startTime, endTime) :如有指定,請只列出在 startTime (含) 和 endTime (不含) 之間有效的異常狀況。兩個參數都必須符合 RFC-3339 格式字串 (例如 2012-04-21T11:30:00-04:00 )。支援世界標準時間偏移。startTime 和 endTime 都接受特殊值 UNBOUNDED ,分別表示沒有下限或上限的間隔。示例:
activeBetween("2021-04-21T11:30:00Z", "2021-07-21T00:00:00Z")
activeBetween(UNBOUNDED, "2021-11-21T00:00:00-04:00")
activeBetween("2021-07-21T00:00:00-04:00", UNBOUNDED)
|
pageSize |
integer
傳回資料的大小上限。如未指定,最多將傳回 10 個異常狀況。許可的最大值為 100;超出的數值將一律指定為 100。
|
pageToken |
string
屬於接收自前一個 ListErrorReports 呼叫的網頁權杖。提供此項目即可擷取後續網頁。 進行分頁時,提供至 ListErrorReports 的所有其他參數須與提供網頁權杖的呼叫相符。
|
回應主體
提供資料集內異常狀況清單的回應。
如果成功,回應主體即會包含具有以下結構的資料:
JSON 表示法 |
{
"anomalies": [
{
object (Anomaly )
}
],
"nextPageToken": string
} |
欄位 |
anomalies[] |
object (Anomaly )
偵測到的異常狀況。
|
nextPageToken |
string
用於擷取下一頁資料的接續權杖。
|
授權範圍
需要下列 OAuth 範圍:
https://www.googleapis.com/auth/playdeveloperreporting
詳情請參閱 OAuth 2.0 總覽。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2023-11-29 (世界標準時間)。
[null,null,["上次更新時間:2023-11-29 (世界標準時間)。"],[[["Lists anomalies detected within any of the Google Play developer's datasets."],["Filter anomalies by activity timeframe, control the number of results returned, and navigate through pages using pagination."],["Anomalies are returned with details like their type, severity, affected dimensions, and relevant metrics, along with a token for retrieving further pages."],["Utilizes the `GET` HTTP method and requires the `https://www.googleapis.com/auth/playdeveloperreporting` OAuth scope for authorization."]]],["This document details how to list anomalies in datasets via an HTTP GET request to `https://playdeveloperreporting.googleapis.com/v1beta1/{parent=apps/*}/anomalies`. The `parent` path parameter specifies the app. Query parameters include `filter` for filtering anomalies by time, `pageSize` to control result quantity (max 100), and `pageToken` for pagination. The request body must be empty. The response returns a list of anomalies and a `nextPageToken` for further results. Authorization requires the `https://www.googleapis.com/auth/playdeveloperreporting` OAuth scope.\n"]]