Firebase Crashlytics API . projects . apps . issues

Instance Methods

notes()

Returns the notes Resource.

batchUpdate(parent, body=None, x__xgafv=None)

Change the state of a group of issues. This method is not atomic, so partial failures can occur. In the event of a partial failure, the request will fail and you will need to call `GetIssue` to see which issues were not updated.

close()

Close httplib2 connections.

get(name, x__xgafv=None)

Retrieve an issue.

patch(name, body=None, updateMask=None, x__xgafv=None)

Change the state of an issue.

Method Details

batchUpdate(parent, body=None, x__xgafv=None)
Change the state of a group of issues. This method is not atomic, so partial failures can occur. In the event of a partial failure, the request will fail and you will need to call `GetIssue` to see which issues were not updated.

Args:
  parent: string, Required. The parent resource shared by all issues being updated. Format: projects/{project}/apps/{app}. If this is set, the parent field in the UpdateIssueRequest messages must either be empty or match this field. (required)
  body: object, The request body.
    The object takes the form of:

{ # Request message for the BatchUpdateIssues method.
  "requests": [ # Required. The request message specifying the resources to update. A maximum of 100 issues can be modified in a batch.
    { # Request message for the UpdateIssue method.
      "issue": { # An issue describes a set of similar events that have been analyzed by Crashlytics and grouped together. All events within an issue will be of the same error_type: crash, non-fatal exception or ANR. All events within an issue will contain similar stack traces in their blamed thread. # Required. The issue to update. The issue's `name` field is used to identify the issue to update. Format: "projects/{project}/apps/{app}/issues/{issue}".
        "errorType": "A String", # Output only. Immutable. Indicates whether this issue is a crash, non-fatal exception, or ANR.
        "firstSeenTime": "A String", # Output only. Immutable. The first time this issue was seen.
        "firstSeenVersion": "A String", # Output only. Immutable. The first app display_version in which this issue was seen, populated for mobile issues only.
        "id": "A String", # Output only. Immutable. Unique identifier for the issue.
        "lastSeenTime": "A String", # Output only. The most recent time this issue was seen.
        "lastSeenVersion": "A String", # Output only. The most recent app display_version in which this issue was seen, populated for mobile issues only.
        "name": "A String", # Required. Output only. Immutable. Identifier. The name of the issue resource. Format: "projects/{project}/apps/{app}/issues/{issue}".
        "notesCount": "A String", # Output only. The number of notes attached to an issue.
        "sampleEvent": "A String", # Output only. The resource name for a sample event in this issue.
        "signals": [ # Output only. Immutable. Distinctive characteristics assigned by the Crashlytics analyzer.
          { # Distinctive characteristics assigned by the Crashlytics analyzer.
            "description": "A String", # Output only. Supporting detail information.
            "signal": "A String", # Output only. The signal name.
          },
        ],
        "state": "A String", # Output only. Indicates whether this issue is open, closed or muted. For details on how issue states change without user actions, see [Regressed Issues](https://firebase.google.com/docs/crashlytics/troubleshooting?platform=ios#regressed-issues).
        "stateUpdateTime": "A String", # Output only. The time at which the issue state was last changed.
        "subtitle": "A String", # Output only. Immutable. Caption subtitle. This is usually a symbol or an exception message.
        "title": "A String", # Output only. Immutable. Caption title. This is usually a source file or method name.
        "uri": "A String", # Output only. Provides a link to the Issue on the Firebase console. When this Issue is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
        "variants": [ # Output only. Immutable. The top 12 variants (subgroups) within the issue. Variants group events within an issue that are very similar. A single result implies that the variant is the same as the parent issue. This field will be empty when multiple issues are requested. Request a single issue to list variants.
          { # A variant is a subgroup of an issue where all events have very similar stack traces. Issues may contain one or more variants.
            "id": "A String", # Output only. Immutable. Distinct identifier for the variant.
            "sampleEvent": "A String", # Output only. The resource name for a sample event in this variant.
            "uri": "A String", # Output only. Provides a link to the variant on the Firebase console. When this variant is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
          },
        ],
      },
      "updateMask": "A String", # Optional. The list of Issue fields to update. Currently only "state" is mutable.
    },
  ],
  "updateMask": "A String", # Optional. The list of Issue fields to update. If this is set, the update_mask field in the UpdateIssueRequest messages must either be empty or match this field.
}

  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # Response message for the BatchUpdateIssues method.
  "issues": [ # Issues updated in the same order as in BatchUpdateIssuesRequest.
    { # An issue describes a set of similar events that have been analyzed by Crashlytics and grouped together. All events within an issue will be of the same error_type: crash, non-fatal exception or ANR. All events within an issue will contain similar stack traces in their blamed thread.
      "errorType": "A String", # Output only. Immutable. Indicates whether this issue is a crash, non-fatal exception, or ANR.
      "firstSeenTime": "A String", # Output only. Immutable. The first time this issue was seen.
      "firstSeenVersion": "A String", # Output only. Immutable. The first app display_version in which this issue was seen, populated for mobile issues only.
      "id": "A String", # Output only. Immutable. Unique identifier for the issue.
      "lastSeenTime": "A String", # Output only. The most recent time this issue was seen.
      "lastSeenVersion": "A String", # Output only. The most recent app display_version in which this issue was seen, populated for mobile issues only.
      "name": "A String", # Required. Output only. Immutable. Identifier. The name of the issue resource. Format: "projects/{project}/apps/{app}/issues/{issue}".
      "notesCount": "A String", # Output only. The number of notes attached to an issue.
      "sampleEvent": "A String", # Output only. The resource name for a sample event in this issue.
      "signals": [ # Output only. Immutable. Distinctive characteristics assigned by the Crashlytics analyzer.
        { # Distinctive characteristics assigned by the Crashlytics analyzer.
          "description": "A String", # Output only. Supporting detail information.
          "signal": "A String", # Output only. The signal name.
        },
      ],
      "state": "A String", # Output only. Indicates whether this issue is open, closed or muted. For details on how issue states change without user actions, see [Regressed Issues](https://firebase.google.com/docs/crashlytics/troubleshooting?platform=ios#regressed-issues).
      "stateUpdateTime": "A String", # Output only. The time at which the issue state was last changed.
      "subtitle": "A String", # Output only. Immutable. Caption subtitle. This is usually a symbol or an exception message.
      "title": "A String", # Output only. Immutable. Caption title. This is usually a source file or method name.
      "uri": "A String", # Output only. Provides a link to the Issue on the Firebase console. When this Issue is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
      "variants": [ # Output only. Immutable. The top 12 variants (subgroups) within the issue. Variants group events within an issue that are very similar. A single result implies that the variant is the same as the parent issue. This field will be empty when multiple issues are requested. Request a single issue to list variants.
        { # A variant is a subgroup of an issue where all events have very similar stack traces. Issues may contain one or more variants.
          "id": "A String", # Output only. Immutable. Distinct identifier for the variant.
          "sampleEvent": "A String", # Output only. The resource name for a sample event in this variant.
          "uri": "A String", # Output only. Provides a link to the variant on the Firebase console. When this variant is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
        },
      ],
    },
  ],
}
close()
Close httplib2 connections.
get(name, x__xgafv=None)
Retrieve an issue.

Args:
  name: string, Required. The name of the issue to retrieve. Format: "projects/{project}/apps/{app}/issues/{issue}". (required)
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An issue describes a set of similar events that have been analyzed by Crashlytics and grouped together. All events within an issue will be of the same error_type: crash, non-fatal exception or ANR. All events within an issue will contain similar stack traces in their blamed thread.
  "errorType": "A String", # Output only. Immutable. Indicates whether this issue is a crash, non-fatal exception, or ANR.
  "firstSeenTime": "A String", # Output only. Immutable. The first time this issue was seen.
  "firstSeenVersion": "A String", # Output only. Immutable. The first app display_version in which this issue was seen, populated for mobile issues only.
  "id": "A String", # Output only. Immutable. Unique identifier for the issue.
  "lastSeenTime": "A String", # Output only. The most recent time this issue was seen.
  "lastSeenVersion": "A String", # Output only. The most recent app display_version in which this issue was seen, populated for mobile issues only.
  "name": "A String", # Required. Output only. Immutable. Identifier. The name of the issue resource. Format: "projects/{project}/apps/{app}/issues/{issue}".
  "notesCount": "A String", # Output only. The number of notes attached to an issue.
  "sampleEvent": "A String", # Output only. The resource name for a sample event in this issue.
  "signals": [ # Output only. Immutable. Distinctive characteristics assigned by the Crashlytics analyzer.
    { # Distinctive characteristics assigned by the Crashlytics analyzer.
      "description": "A String", # Output only. Supporting detail information.
      "signal": "A String", # Output only. The signal name.
    },
  ],
  "state": "A String", # Output only. Indicates whether this issue is open, closed or muted. For details on how issue states change without user actions, see [Regressed Issues](https://firebase.google.com/docs/crashlytics/troubleshooting?platform=ios#regressed-issues).
  "stateUpdateTime": "A String", # Output only. The time at which the issue state was last changed.
  "subtitle": "A String", # Output only. Immutable. Caption subtitle. This is usually a symbol or an exception message.
  "title": "A String", # Output only. Immutable. Caption title. This is usually a source file or method name.
  "uri": "A String", # Output only. Provides a link to the Issue on the Firebase console. When this Issue is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
  "variants": [ # Output only. Immutable. The top 12 variants (subgroups) within the issue. Variants group events within an issue that are very similar. A single result implies that the variant is the same as the parent issue. This field will be empty when multiple issues are requested. Request a single issue to list variants.
    { # A variant is a subgroup of an issue where all events have very similar stack traces. Issues may contain one or more variants.
      "id": "A String", # Output only. Immutable. Distinct identifier for the variant.
      "sampleEvent": "A String", # Output only. The resource name for a sample event in this variant.
      "uri": "A String", # Output only. Provides a link to the variant on the Firebase console. When this variant is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
    },
  ],
}
patch(name, body=None, updateMask=None, x__xgafv=None)
Change the state of an issue.

Args:
  name: string, Required. Output only. Immutable. Identifier. The name of the issue resource. Format: "projects/{project}/apps/{app}/issues/{issue}". (required)
  body: object, The request body.
    The object takes the form of:

{ # An issue describes a set of similar events that have been analyzed by Crashlytics and grouped together. All events within an issue will be of the same error_type: crash, non-fatal exception or ANR. All events within an issue will contain similar stack traces in their blamed thread.
  "errorType": "A String", # Output only. Immutable. Indicates whether this issue is a crash, non-fatal exception, or ANR.
  "firstSeenTime": "A String", # Output only. Immutable. The first time this issue was seen.
  "firstSeenVersion": "A String", # Output only. Immutable. The first app display_version in which this issue was seen, populated for mobile issues only.
  "id": "A String", # Output only. Immutable. Unique identifier for the issue.
  "lastSeenTime": "A String", # Output only. The most recent time this issue was seen.
  "lastSeenVersion": "A String", # Output only. The most recent app display_version in which this issue was seen, populated for mobile issues only.
  "name": "A String", # Required. Output only. Immutable. Identifier. The name of the issue resource. Format: "projects/{project}/apps/{app}/issues/{issue}".
  "notesCount": "A String", # Output only. The number of notes attached to an issue.
  "sampleEvent": "A String", # Output only. The resource name for a sample event in this issue.
  "signals": [ # Output only. Immutable. Distinctive characteristics assigned by the Crashlytics analyzer.
    { # Distinctive characteristics assigned by the Crashlytics analyzer.
      "description": "A String", # Output only. Supporting detail information.
      "signal": "A String", # Output only. The signal name.
    },
  ],
  "state": "A String", # Output only. Indicates whether this issue is open, closed or muted. For details on how issue states change without user actions, see [Regressed Issues](https://firebase.google.com/docs/crashlytics/troubleshooting?platform=ios#regressed-issues).
  "stateUpdateTime": "A String", # Output only. The time at which the issue state was last changed.
  "subtitle": "A String", # Output only. Immutable. Caption subtitle. This is usually a symbol or an exception message.
  "title": "A String", # Output only. Immutable. Caption title. This is usually a source file or method name.
  "uri": "A String", # Output only. Provides a link to the Issue on the Firebase console. When this Issue is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
  "variants": [ # Output only. Immutable. The top 12 variants (subgroups) within the issue. Variants group events within an issue that are very similar. A single result implies that the variant is the same as the parent issue. This field will be empty when multiple issues are requested. Request a single issue to list variants.
    { # A variant is a subgroup of an issue where all events have very similar stack traces. Issues may contain one or more variants.
      "id": "A String", # Output only. Immutable. Distinct identifier for the variant.
      "sampleEvent": "A String", # Output only. The resource name for a sample event in this variant.
      "uri": "A String", # Output only. Provides a link to the variant on the Firebase console. When this variant is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
    },
  ],
}

  updateMask: string, Optional. The list of Issue fields to update. Currently only "state" is mutable.
  x__xgafv: string, V1 error format.
    Allowed values
      1 - v1 error format
      2 - v2 error format

Returns:
  An object of the form:

    { # An issue describes a set of similar events that have been analyzed by Crashlytics and grouped together. All events within an issue will be of the same error_type: crash, non-fatal exception or ANR. All events within an issue will contain similar stack traces in their blamed thread.
  "errorType": "A String", # Output only. Immutable. Indicates whether this issue is a crash, non-fatal exception, or ANR.
  "firstSeenTime": "A String", # Output only. Immutable. The first time this issue was seen.
  "firstSeenVersion": "A String", # Output only. Immutable. The first app display_version in which this issue was seen, populated for mobile issues only.
  "id": "A String", # Output only. Immutable. Unique identifier for the issue.
  "lastSeenTime": "A String", # Output only. The most recent time this issue was seen.
  "lastSeenVersion": "A String", # Output only. The most recent app display_version in which this issue was seen, populated for mobile issues only.
  "name": "A String", # Required. Output only. Immutable. Identifier. The name of the issue resource. Format: "projects/{project}/apps/{app}/issues/{issue}".
  "notesCount": "A String", # Output only. The number of notes attached to an issue.
  "sampleEvent": "A String", # Output only. The resource name for a sample event in this issue.
  "signals": [ # Output only. Immutable. Distinctive characteristics assigned by the Crashlytics analyzer.
    { # Distinctive characteristics assigned by the Crashlytics analyzer.
      "description": "A String", # Output only. Supporting detail information.
      "signal": "A String", # Output only. The signal name.
    },
  ],
  "state": "A String", # Output only. Indicates whether this issue is open, closed or muted. For details on how issue states change without user actions, see [Regressed Issues](https://firebase.google.com/docs/crashlytics/troubleshooting?platform=ios#regressed-issues).
  "stateUpdateTime": "A String", # Output only. The time at which the issue state was last changed.
  "subtitle": "A String", # Output only. Immutable. Caption subtitle. This is usually a symbol or an exception message.
  "title": "A String", # Output only. Immutable. Caption title. This is usually a source file or method name.
  "uri": "A String", # Output only. Provides a link to the Issue on the Firebase console. When this Issue is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
  "variants": [ # Output only. Immutable. The top 12 variants (subgroups) within the issue. Variants group events within an issue that are very similar. A single result implies that the variant is the same as the parent issue. This field will be empty when multiple issues are requested. Request a single issue to list variants.
    { # A variant is a subgroup of an issue where all events have very similar stack traces. Issues may contain one or more variants.
      "id": "A String", # Output only. Immutable. Distinct identifier for the variant.
      "sampleEvent": "A String", # Output only. The resource name for a sample event in this variant.
      "uri": "A String", # Output only. Provides a link to the variant on the Firebase console. When this variant is obtained as part of a Report, then the link will be configured with the same time interval and filters as the request.
    },
  ],
}