projects

GET /v1alpha/projects/{projectsId}/apps/{appsId}/reports/{reportsId}

Changed on

Get a report with its computed results.

Request

  • Base URL
    https://firebasecrashlytics.googleapis.com
  • Auth
    • OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/cloud-platform
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/cloud-platform
    • or OAuth 2 and OAuth 2
      Implicithttps://accounts.google.com/o/oauth2/auth
      Scopeshttps://www.googleapis.com/auth/firebase
      Authorization codehttps://accounts.google.com/o/oauth2/auth
      Token URLhttps://accounts.google.com/o/oauth2/token
      Scopeshttps://www.googleapis.com/auth/firebase

Path parameters

projectsId, string required
appsId, string required
reportsId, string required

Query parameters

$.xgafv, '1' | '2'

V1 error format.

access_token, string

OAuth access token.

alt, 'json' | 'media' | 'proto'

Data format for response.

callback, string

JSONP

fields, string

Selector specifying which fields to include in a partial response.

key, string

API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.

oauth_token, string

OAuth 2.0 token for the current user.

prettyPrint, boolean

Returns response with indentations and line breaks.

quotaUser, string

Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.

uploadType, string

Legacy upload protocol for media (e.g. "media", "multipart").

upload_protocol, string

Upload protocol for media (e.g. "raw", "multipart").

filter.browser.displayNames, string[]

Optional. Only count events from the given browser. This string matches Browser.display_name. Format: "name (display_version)" e.g. "Chrome (123)", or just "name" for all possible versions, e.g. simply "Chrome".

filter.device.displayNames, string[]

Only counts events from the given Device model. This string matches Device.display_name. Format: "manufacturer (model)" e.g. "Google (Pixel 6)", or just "manufacturer" for all possible models, e.g. simply "Google". Note that a device's marketing_name field can not be used for filtering.

filter.device.formFactors, string[]

Only counts events from devices with the given form factor (e.g. phone or tablet).

filter.interval.endTime, string google-datetime

Optional. Exclusive end of the interval. If specified, a Timestamp matching this interval will have to be before the end.

filter.interval.startTime, string google-datetime

Optional. Inclusive start of the interval. If specified, a Timestamp matching this interval will have to be the same or after the start.

filter.issue.content, string

Optional. A space separated list of filter terms matched against the contents of the issue. Contents include the title and the stack trace. Matches must begin at alphanumeric tokens, i.e., 'util.Sorted' matches 'java.util.SortedSet' but not 'myutil.SortedArray'. The filter matches if all filter terms match. All non-alphanumeric characters are ignored for matching. Filtering is assumed to be prefix-search and order-independent unless phrases are surrounded by "". Any terms contained in quotes are searched using exact-match (given filter term "foo", we will not return "foobar"), and must appear in the order given exactly. To get order-dependence but prefix-search, use a * within the quotes ("abc foo*" will match "abc foobar", but not "foo abc" "abcd foobar", or "abc xyz foobar").

filter.issue.errorTypes, string[]

Optional. Only counts events of the given error types. This field matches [Issue.error_type].

filter.issue.id, string

Optional. Only counts events in the given issue ID. This field matches [Issue.id].

filter.issue.signals, string[]

Optional. Only returns issues currently marked with the given signals. This field matches [Issue.signals.signal].

filter.issue.state, 'STATE_UNSPECIFIED' | 'OPEN' | 'CLOSED' | 'MUTED'

Optional. Deprecated: Prefer states field. Only includes events for issues with the given issue state. Only available for topIssues reports.

filter.issue.states, string[]

Optional. Only includes events for issues with the given issue states. Only available for topIssues reports.

filter.issue.variantId, string

Optional. Only counts events for the given issue variant ID. This field matches [IssueVariant.id].

filter.operatingSystem.displayNames, string[]

Only counts events in the given operating system and version. This string matches OperatingSystem.display_name. Format: "osName (osVersion)" e.g. "Android (11)". or just "osName" for all versions, e.g. simply "iPadOS".

filter.version.displayNames, string[]

Only counts events in the given app version. This string matches Version.display_name. Format: "display_version (build_version)" e.g. "1.2.3 (456)".

filterExpression, string

Optional. Filters the events counted in the report by custom keys. Not all reports support this filter. It is currently only supported for web apps; see the report's usage field for whether filter_expression is supported. Requests for other apps or unsupported reports that set this field are rejected with INVALID_ARGUMENT. Supported forms: * Equality: custom_keys.level = "vip" * Has: custom_keys.level:"vip" (matches the same events as equality) * Presence: custom_keys.level:* * OR across values of one key: custom_keys.level = "vip" OR custom_keys.level = "enterprise" * AND across different keys: custom_keys.level = "vip" AND custom_keys.region = "us" Keys are case-sensitive. Keys and values containing spaces must be double-quoted, for example custom_keys."app state" = "background". OR across different keys, repeating a key within an AND, NOT, and comparators other than = and : are rejected with INVALID_ARGUMENT. Wildcards are not supported in values; use custom_keys.:* to match events that set a key to any value. This filter expression applies in addition to the filter field above. The syntax is a subset of AIP-160 (https://google.aip.dev/160).

granularity, 'TIME_GRANULARITY_UNSPECIFIED' | 'TIME_GRANULARITY_NONE' | 'TIME_GRANULARITY_HOUR' | 'TIME_GRANULARITY_DAY'

Optional. The report response will contain one data point per time grain. If omitted, the report will contain a single data point for the complete interval.

metricsMode, 'METRICS_MODE_UNSPECIFIED' | 'METRICS_MODE_OBSERVED' | 'METRICS_MODE_EXTRAPOLATED'

Optional. Controls whether metrics are raw observed values (mobile and web) or extrapolated values (web only). If omitted, defaults to OBSERVED.

pageSize, integer

Optional. The maximum number of result groups to return. The maximum value is 100; values above 100 will be coerced to 100. If omitted, defaults to 25.

pageToken, string

Optional. A page token, received from a previous call. The page token is only valid for the exact same set of filters, which must also be sent in subsequent requests. This token is valid for 10 minutes after the first request.

view, 'REPORT_VIEW_UNSPECIFIED' | 'REPORT_VIEW_BASIC' | 'REPORT_VIEW_FULL'

Optional. Response view. If not set, defaults to REPORT_VIEW_FULL.

Response

Successful response

Report required

Response message for the GetReport method. A report consists of the results of a query over an application's events. The events may be filtered by various criteria defined in the filters proto. The result will consist of a number of paginated groups, of a type relevant to the report such as issues or device models.

displayName, string

Output only. The displayable title of the report.

groups, ReportGroup[]

Aggregate event statistics in the report will be grouped by a dimension, such as by issue or by version. The response contains one element per group, and all ReportGroup messages will have the same parent field.

name, string

The name of the report. Format: "projects/{project}/apps/{app_id}/reports/{report}".

nextPageToken, string

Output only. A page token used to retrieve additional report groups. If this field is not present, there are no subsequent pages available to retrieve.

totalSize, integer

Output only. The total number of groups retrievable by the request.

usage, string

Usage instructions for the report with a description of the result metrics. This field contains a description of the underlying query and describes the expected response data with any known caveats. This string can be displayed in the UI of any integration that offers comprehensive access to all Crashlytics reports.

Changes

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2

    • info

      the security scope https://www.googleapis.com/auth/cloud-platform was added to the endpoint's security scheme Oauth2c

    • info

      the security scope https://www.googleapis.com/auth/firebase was removed from the endpoint's security scheme Oauth2

    1 more change in this revision