Method: anomalies.list
จัดทุกอย่างให้เป็นระเบียบอยู่เสมอด้วยคอลเล็กชัน
บันทึกและจัดหมวดหมู่เนื้อหาตามค่ากำหนดของคุณ
แสดงรายการความผิดปกติในชุดข้อมูล
คำขอ HTTP
GET https://playdeveloperreporting.googleapis.com/v1alpha1/{parent=apps/*}/anomalies
URL ใช้ไวยากรณ์การแปลงรหัส gRPC
พารามิเตอร์เส้นทาง
พารามิเตอร์ |
parent |
string
ต้องระบุ แอปหลักที่ตรวจพบความผิดปกติ รูปแบบ: apps/{app}
|
พารามิเตอร์การค้นหา
พารามิเตอร์ |
filter |
string
เกณฑ์การกรองสำหรับความผิดปกติ ดูคำแนะนำพื้นฐานเกี่ยวกับตัวกรองได้ที่ https://google.aip.dev/160 ฟังก์ชันที่รองรับ
activeBetween(startTime, endTime) : หากระบุไว้ ให้แสดงเฉพาะความผิดปกติที่ใช้งานอยู่ระหว่าง startTime (รวม) กับ endTime (ไม่รวม) พารามิเตอร์ทั้ง 2 คาดว่าจะสอดคล้องกับสตริงที่จัดรูปแบบ RFC-3339 (เช่น 2012-04-21T11:30:00-04:00 ) ระบบรองรับออฟเซ็ต UTC ทั้ง 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 จะถูกบังคับให้เป็น 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 Overview
เนื้อหาของหน้าเว็บนี้ได้รับอนุญาตภายใต้ใบอนุญาตที่ต้องระบุที่มาของครีเอทีฟคอมมอนส์ 4.0 และตัวอย่างโค้ดได้รับอนุญาตภายใต้ใบอนุญาต Apache 2.0 เว้นแต่จะระบุไว้เป็นอย่างอื่น โปรดดูรายละเอียดที่นโยบายเว็บไซต์ Google Developers Java เป็นเครื่องหมายการค้าจดทะเบียนของ Oracle และ/หรือบริษัทในเครือ
อัปเดตล่าสุด 2025-07-26 UTC
[null,null,["อัปเดตล่าสุด 2025-07-26 UTC"],[[["\u003cp\u003eLists anomalies, such as crashes and ANRs, within your app's datasets.\u003c/p\u003e\n"],["\u003cp\u003eFilter anomalies by time window and retrieve paginated results using query parameters.\u003c/p\u003e\n"],["\u003cp\u003eRequest requires authorization using the \u003ccode\u003ehttps://www.googleapis.com/auth/playdeveloperreporting\u003c/code\u003e scope.\u003c/p\u003e\n"],["\u003cp\u003eResponse provides a list of anomalies and a token for retrieving further pages, if available.\u003c/p\u003e\n"]]],["This outlines how to list anomalies in datasets via an HTTP GET request to `https://playdeveloperreporting.googleapis.com/v1alpha1/{parent=apps/*}/anomalies`. The `parent` path parameter, indicating the app, is required. Optional query parameters include `filter` (for time-based anomaly filtering), `pageSize` (limiting results), and `pageToken` (for pagination). The request body must be empty. The response body includes a list of anomalies and a `nextPageToken` for further results. Authorization requires the `playdeveloperreporting` OAuth scope.\n"],null,["# Method: anomalies.list\n\n- [HTTP request](#body.HTTP_TEMPLATE)\n- [Path parameters](#body.PATH_PARAMETERS)\n- [Query parameters](#body.QUERY_PARAMETERS)\n- [Request body](#body.request_body)\n- [Response body](#body.response_body)\n - [JSON representation](#body.ListAnomaliesResponse.SCHEMA_REPRESENTATION)\n- [Authorization scopes](#body.aspect)\n\nLists anomalies in any of the datasets.\n\n### HTTP request\n\n`GET https://playdeveloperreporting.googleapis.com/v1alpha1/{parent=apps/*}/anomalies`\n\nThe URL uses [gRPC Transcoding](https://google.aip.dev/127) syntax.\n\n### Path parameters\n\n| Parameters ||\n|----------|-------------------------------------------------------------------------------------|\n| `parent` | `string` Required. Parent app for which anomalies were detected. Format: apps/{app} |\n\n### Query parameters\n\n| Parameters ||\n|-------------|---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|\n| `filter` | `string` Filtering criteria for anomalies. For basic filter guidance, please check: \u003chttps://google.aip.dev/160\u003e. **Supported functions:** - `activeBetween(startTime, endTime)`: If specified, only list anomalies that were active in between `startTime` (inclusive) and `endTime` (exclusive). Both parameters are expected to conform to an RFC-3339 formatted string (e.g. `2012-04-21T11:30:00-04:00`). UTC offsets are supported. Both `startTime` and `endTime` accept the special value `UNBOUNDED`, to signify intervals with no lower or upper bound, respectively. Examples: - `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)` |\n| `pageSize` | `integer` Maximum size of the returned data. If unspecified, at most 10 anomalies will be returned. The maximum value is 100; values above 100 will be coerced to 100. |\n| `pageToken` | `string` A page token, received from a previous `ListErrorReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListErrorReports` must match the call that provided the page token. |\n\n### Request body\n\nThe request body must be empty.\n\n### Response body\n\nResponse with a list of anomalies in datasets.\n\nIf successful, the response body contains data with the following structure:\n\n| JSON representation |\n|----------------------------------------------------------------------------------------------------------------------------------------|\n| ``` { \"anomalies\": [ { object (/play/developer/reporting/reference/rest/v1alpha1/anomalies#Anomaly) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|------------------------------------------------------------------------------------------------------------------------|\n| `anomalies[]` | `object (`[Anomaly](/play/developer/reporting/reference/rest/v1alpha1/anomalies#Anomaly)`)` Anomalies that were found. |\n| `nextPageToken` | `string` Continuation token to fetch the next page of data. |\n\n### Authorization scopes\n\nRequires the following OAuth scope:\n\n- `https://www.googleapis.com/auth/playdeveloperreporting`\n\nFor more information, see the [OAuth 2.0 Overview](/identity/protocols/OAuth2)."]]