Method: anomalies.list
Zadbaj o dobrą organizację dzięki kolekcji
Zapisuj i kategoryzuj treści zgodnie ze swoimi preferencjami.
Wyświetla listę anomalii w dowolnym zbiorze danych.
Żądanie HTTP
GET https://playdeveloperreporting.googleapis.com/v1beta1/{parent=apps/*}/anomalies
Adres URL używa składni transkodowania gRPC.
Parametry ścieżki
Parametry |
parent |
string
Wymagany. Aplikacja nadrzędna, w której wykryto anomalie. Format: apps/{app}
|
Parametry zapytania
Parametry |
filter |
string
Kryteria filtrowania anomalii. Podstawowe wskazówki dotyczące filtrowania znajdziesz na stronie https://google.aip.dev/160. Obsługiwane funkcje:
activeBetween(startTime, endTime) : jeśli podano, wyświetlaj tylko anomalie, które były aktywne w okresie od startTime (włącznie) do endTime (wyłącznie). Oczekuje się, że oba parametry będą zgodne z ciągiem znaków w formacie RFC-3339 (np. 2012-04-21T11:30:00-04:00 ). Obsługiwane są przesunięcia czasu UTC. Zarówno atrybut startTime , jak i endTime akceptują wartość specjalną UNBOUNDED , która oznacza przedziały bez odpowiednio dolnej i górnej granicy. Przykłady:
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
Maksymalny rozmiar zwracanych danych. Jeśli nie podano tego argumentu, zwracanych jest maksymalnie 10 anomalii. Maksymalna wartość to 100. Wartości powyżej 100 zostaną zmienione na 100.
|
pageToken |
string
Token strony otrzymany z poprzedniego wywołania ListErrorReports . Podaj ten token, aby pobrać kolejną stronę. Podczas paginacji wszystkie inne parametry przekazane do funkcji ListErrorReports muszą być zgodne z wywołaniem, które dostarczyło token strony.
|
Treść żądania
Treść żądania musi być pusta.
Treść odpowiedzi
Odpowiedź z listą anomalii w zbiorach danych.
W przypadku powodzenia treść żądania zawiera dane o następującej strukturze:
Zapis JSON |
{
"anomalies": [
{
object (Anomaly )
}
],
"nextPageToken": string
} |
Pola |
anomalies[] |
object (Anomaly )
Wykryte anomalie.
|
nextPageToken |
string
Token kontynuacji do pobrania następnej strony danych.
|
Zakresy autoryzacji
Wymaga następującego zakresu OAuth:
https://www.googleapis.com/auth/playdeveloperreporting
Więcej informacji znajdziesz w sekcji OAuth 2.0 Overview.
O ile nie stwierdzono inaczej, treść tej strony jest objęta licencją Creative Commons – uznanie autorstwa 4.0, a fragmenty kodu są dostępne na licencji Apache 2.0. Szczegółowe informacje na ten temat zawierają zasady dotyczące witryny Google Developers. Java jest zastrzeżonym znakiem towarowym firmy Oracle i jej podmiotów stowarzyszonych.
Ostatnia aktualizacja: 2025-07-26 UTC.
[null,null,["Ostatnia aktualizacja: 2025-07-26 UTC."],[[["\u003cp\u003eLists anomalies detected within any of the Google Play developer's datasets.\u003c/p\u003e\n"],["\u003cp\u003eFilter anomalies by activity timeframe, control the number of results returned, and navigate through pages using pagination.\u003c/p\u003e\n"],["\u003cp\u003eAnomalies are returned with details like their type, severity, affected dimensions, and relevant metrics, along with a token for retrieving further pages.\u003c/p\u003e\n"],["\u003cp\u003eUtilizes the \u003ccode\u003eGET\u003c/code\u003e HTTP method and requires the \u003ccode\u003ehttps://www.googleapis.com/auth/playdeveloperreporting\u003c/code\u003e OAuth scope for authorization.\u003c/p\u003e\n"]]],["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"],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/v1beta1/{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/v1beta1/anomalies#Anomaly) } ], \"nextPageToken\": string } ``` |\n\n| Fields ||\n|-----------------|-----------------------------------------------------------------------------------------------------------------------|\n| `anomalies[]` | `object (`[Anomaly](/play/developer/reporting/reference/rest/v1beta1/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)."]]