Xeonr Developer Docs

Aggregate integration renderer crashes

POST
/uplim.api.v1.IntegrationAdminService/AggregateIntegrationRendererCrashes

Returns count + distinct-user + last-seen buckets grouped by a chosen dimension (archive, content type, error name, kind, build hash, or time) for crashes within an integration the caller owns.

Authorization

OAuth2 upl:private
AuthorizationBearer <token>

OAuth 2.0 authorization

In: header

Scope: upl:private

Header Parameters

Connect-Protocol-Version*number

Define the version of the Connect protocol

Value in1
Connect-Timeout-Ms?number

Define the timeout, in ms

Request Body

application/json

integrationId?string
Formatuuid
filter?

Filter envelope used by both ListRendererCrashes and AggregateRendererCrashes. Every field is optional; an empty filter is "everything visible to the caller in the retention window."

groupBy?string

What field to group an aggregate query on. Each enum value names a column the storage layer can group by cheaply (each is part of the crash row's natural key space).

Value in"RENDERER_CRASH_AGGREGATE_GROUP_BY_UNSPECIFIED" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_INTEGRATION" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_ARCHIVE" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_CONTENT_TYPE" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_ERROR_NAME" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_KIND" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_BUILD_HASH" | "RENDERER_CRASH_AGGREGATE_GROUP_BY_TIME"
[key: string]?never

Response Body

application/json

application/json

curl -X POST "https://uploads-api.xeonr.io/uplim.api.v1.IntegrationAdminService/AggregateIntegrationRendererCrashes" \  -H "Connect-Protocol-Version: 1" \  -H "Content-Type: application/json" \  -d '{}'
{
  "buckets": [
    {
      "key": "string",
      "count": 0,
      "distinctUsers": 0,
      "lastSeenAt": "2023-01-15T01:30:15.01Z"
    }
  ]
}
{
  "code": "not_found",
  "message": "string",
  "details": [
    {
      "type": "string",
      "value": "string",
      "debug": {}
    }
  ]
}