projects

GET /v1alpha/projects/{projectsId}/apps/{appsId}/events

Changed on

List the events for an issue matching filter criteria, sorted in descending order by timestamp.

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

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 events by crashlytics_session_id and/or custom_keys (https://firebase.google.com/docs/crashlytics/customize-crash-reports#add-keys). Supported fields and forms: * crashlytics_session_id (mobile apps only; matches Event.crashlytics_session_id): * Equality: crashlytics_session_id = "abc" * Has: crashlytics_session_id:"abc" (matches the same events as equality) * OR across session IDs: crashlytics_session_id = "abc" OR crashlytics_session_id = "def" * custom_keys. (matches Event.custom_keys): * 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 fields or custom keys: * (crashlytics_session_id = "abc" OR crashlytics_session_id = "def") AND custom_keys.level = "vip" * custom_keys.level = "vip" AND custom_keys.region = "us" Filtering by crashlytics_session_id is supported only for mobile apps; requests for web apps that specify crashlytics_session_id are rejected with INVALID_ARGUMENT. Custom keys and values are case-sensitive. Keys and values containing spaces must be double-quoted, for example custom_keys."app state" = "background". Empty crashlytics_session_id values, OR across different fields or keys, repeating the same field or key within an AND, NOT, and comparators other than = and : are rejected with INVALID_ARGUMENT. Wildcards are not supported in values; for custom keys, 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).

pageSize, integer

Optional. The maximum number of events per page. If omitted, defaults to 10.

pageToken, string

Optional. A page token, received from a previous calls.

readMask, string google-fieldmask

Optional. The list of Event fields to include in the response. If omitted, the full event is returned.

Response

Successful response

ListEventsResponse required

Response message for the ListEvents method.

events, Event[]

Returns one element per event, in descending order the by event timestamp.

nextPageToken, string

A pagination token to retrieve the next page of events. The next page will have earlier or later events depending on the request's ordering. If this field is not present, there are no subsequent events.

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