Meldungen: API-Methoden und Export
Lesen Sie Projekt- oder Berichtsereignisse, Kennzahlen und Zeitreihen aus. Nutzen Sie eigene Methoden für den CSV-Export und Monitoring-Metriken.
Auf dieser Seite
- GET /public-api/v1/diff-projects/{id}/alerts
- GET /public-api/v1/diff-projects/{id}/reports/{report_id}/alerts
- GET /public-api/v1/diff-projects/{id}/alerts/summary
- GET /public-api/v1/diff-projects/{id}/reports/{report_id}/alerts/summary
- GET /public-api/v1/diff-projects/{id}/alerts/timeseries
- GET /public-api/v1/diff-projects/{id}/alerts/export.csv
- GET /public-api/v1/diff-projects/{id}/alerts/metrics
- GET /public-api/v1/diff-projects/{id}/reports/{report_id}/alerts/metrics
Wählen Sie eine Methode im Inhaltsverzeichnis. Prüfen Sie HTTP-Methode, Pfad, Berechtigungen, Pflichtparameter und Anfragekörper. JSON-Blöcke mit schema, properties und $ref beschreiben den Vertrag; senden Sie diese nicht als fertigen Anfragekörper. Anfragebeispiele und Antwortschemata sind getrennt gekennzeichnet.
GET /public-api/v1/diff-projects/{id}/alerts
Parameter
Zugehörige Datenmodelle: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · DiffAlertListResponse · ErrorResponse · XID
id (path)
{
"required": true,
"schema": {
"$ref": "#/components/schemas/XID"
}
}
trigger_code (query)
{
"schema": {
"type": "string"
}
}
created_from (query)
{
"schema": {
"type": "string",
"format": "date-time"
}
}
created_to (query)
{
"schema": {
"type": "string",
"format": "date-time"
}
}
limit (query)
{
"schema": {
"type": "integer",
"minimum": 1,
"maximum": 10000,
"default": 1000
}
}
offset (query)
{
"schema": {
"type": "integer",
"minimum": 0,
"default": 0
}
}
url_md5 (query)
{
"schema": {
"type": "string",
"pattern": "^[a-fA-F0-9]{32}$"
}
}
email (query)
{
"schema": {
"type": "string",
"maxLength": 255
}
}
trigger_group (query)
{
"schema": {
"type": "string"
}
}
include_raw (query)
{
"schema": {
"type": "boolean"
}
}
Antworten
200
Benachrichtigungen.
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DiffAlertListResponse"
}
}
}
}
default
Bei fehlenden oder ungültigen Schlüsseln beziehen sich Limit-Header auf fehlgeschlagene Versuche pro IP. Nach der Authentifizierung gilt das Schlüssel- oder Kontolimit. Bei vorheriger Sperre oder nicht verfügbarem Zähler können die Header fehlen. X-RateLimit-Reset ist ein Unix-Zeitstempel in Sekunden; Retry-After bei 429 ist eine Wartezeit in Sekunden.
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
GET /public-api/v1/diff-projects/{id}/reports/{report_id}/alerts
Parameter
Zugehörige Datenmodelle: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · DiffAlertListResponse · ErrorResponse · XID
id (path)
{
"required": true,
"schema": {
"$ref": "#/components/schemas/XID"
}
}
report_id (path)
Berichts-Xid oder das Literal last. Das Literal last wird nur in diesem Pfadparameter akzeptiert.
{
"required": true,
"schema": {
"type": "string",
"minLength": 4,
"maxLength": 64,
"pattern": "^([A-Za-z0-9_-]+|last)$"
}
}
trigger_code (query)
{
"schema": {
"type": "string"
}
}
limit (query)
{
"schema": {
"type": "integer",
"minimum": 1,
"maximum": 10000,
"default": 1000
}
}
offset (query)
{
"schema": {
"type": "integer",
"minimum": 0,
"default": 0
}
}
url_md5 (query)
{
"schema": {
"type": "string",
"pattern": "^[a-fA-F0-9]{32}$"
}
}
email (query)
{
"schema": {
"type": "string",
"maxLength": 255
}
}
trigger_group (query)
{
"schema": {
"type": "string"
}
}
include_raw (query)
{
"schema": {
"type": "boolean"
}
}
Antworten
200
Benachrichtigungen.
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DiffAlertListResponse"
}
}
}
}
default
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
GET /public-api/v1/diff-projects/{id}/alerts/summary
Parameter
Zugehörige Datenmodelle: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · DiffAlertSummaryResponse · ErrorResponse · XID
id (path)
{
"required": true,
"schema": {
"$ref": "#/components/schemas/XID"
}
}
created_from (query)
{
"schema": {
"type": "string",
"format": "date-time"
}
}
created_to (query)
{
"schema": {
"type": "string",
"format": "date-time"
}
}
url_md5 (query)
{
"schema": {
"type": "string",
"pattern": "^[a-fA-F0-9]{32}$"
}
}
email (query)
{
"schema": {
"type": "string",
"maxLength": 255
}
}
trigger_code (query)
{
"schema": {
"type": "string"
}
}
trigger_group (query)
{
"schema": {
"type": "string"
}
}
include_raw (query)
{
"schema": {
"type": "boolean"
}
}
Antworten
200
Zusammenfassung der Benachrichtigungen.
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DiffAlertSummaryResponse"
}
}
}
}
default
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
GET /public-api/v1/diff-projects/{id}/reports/{report_id}/alerts/summary
Parameter
Zugehörige Datenmodelle: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · DiffAlertSummaryResponse · ErrorResponse · XID
id (path)
{
"required": true,
"schema": {
"$ref": "#/components/schemas/XID"
}
}
report_id (path)
Berichts-Xid oder das Literal last. Das Literal last wird nur in diesem Pfadparameter akzeptiert.
{
"required": true,
"schema": {
"type": "string",
"minLength": 4,
"maxLength": 64,
"pattern": "^([A-Za-z0-9_-]+|last)$"
}
}
url_md5 (query)
{
"schema": {
"type": "string",
"pattern": "^[a-fA-F0-9]{32}$"
}
}
email (query)
{
"schema": {
"type": "string",
"maxLength": 255
}
}
trigger_code (query)
{
"schema": {
"type": "string"
}
}
trigger_group (query)
{
"schema": {
"type": "string"
}
}
include_raw (query)
{
"schema": {
"type": "boolean"
}
}
Antworten
200
Zusammenfassung der Benachrichtigungen.
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DiffAlertSummaryResponse"
}
}
}
}
default
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
GET /public-api/v1/diff-projects/{id}/alerts/timeseries
Parameter
Zugehörige Datenmodelle: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · DiffAlertTimeseriesResponse · ErrorResponse · XID
id (path)
{
"required": true,
"schema": {
"$ref": "#/components/schemas/XID"
}
}
interval (query)
{
"schema": {
"type": "string",
"enum": [
"hour",
"day"
],
"default": "day"
}
}
url_md5 (query)
{
"schema": {
"type": "string",
"pattern": "^[a-fA-F0-9]{32}$"
}
}
email (query)
{
"schema": {
"type": "string",
"maxLength": 255
}
}
trigger_code (query)
{
"schema": {
"type": "string"
}
}
trigger_group (query)
{
"schema": {
"type": "string"
}
}
include_raw (query)
{
"schema": {
"type": "boolean"
}
}
from (query)
{
"schema": {
"type": "string",
"format": "date-time"
}
}
to (query)
{
"schema": {
"type": "string",
"format": "date-time"
}
}
Antworten
200
Zeitreihen der Benachrichtigungen.
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/DiffAlertTimeseriesResponse"
}
}
}
}
default
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
GET /public-api/v1/diff-projects/{id}/alerts/export.csv
Parameter
Zugehörige Datenmodelle: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · ErrorResponse · XID
id (path)
{
"required": true,
"schema": {
"$ref": "#/components/schemas/XID"
}
}
created_from (query)
{
"schema": {
"type": "string",
"format": "date-time"
}
}
created_to (query)
{
"schema": {
"type": "string",
"format": "date-time"
}
}
bom (query)
{
"schema": {
"type": "boolean",
"default": true
}
}
url_md5 (query)
{
"schema": {
"type": "string",
"pattern": "^[a-fA-F0-9]{32}$"
}
}
email (query)
{
"schema": {
"type": "string",
"maxLength": 255
}
}
trigger_code (query)
{
"schema": {
"type": "string"
}
}
trigger_group (query)
{
"schema": {
"type": "string"
}
}
include_raw (query)
{
"schema": {
"type": "boolean"
}
}
Antworten
200
Für Tabellenkalkulationen kodierter CSV-Export.
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"Content-Disposition": {
"schema": {
"type": "string"
}
}
},
"content": {
"text/csv": {
"schema": {
"type": "string"
}
}
}
}
default
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
GET /public-api/v1/diff-projects/{id}/alerts/metrics
Parameter
Zugehörige Datenmodelle: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · ErrorResponse · XID
id (path)
{
"required": true,
"schema": {
"$ref": "#/components/schemas/XID"
}
}
created_from (query)
{
"schema": {
"type": "string",
"format": "date-time"
}
}
created_to (query)
{
"schema": {
"type": "string",
"format": "date-time"
}
}
url_md5 (query)
{
"schema": {
"type": "string",
"pattern": "^[a-fA-F0-9]{32}$"
}
}
email (query)
{
"schema": {
"type": "string",
"maxLength": 255
}
}
trigger_code (query)
{
"schema": {
"type": "string"
}
}
trigger_group (query)
{
"schema": {
"type": "string"
}
}
include_raw (query)
{
"schema": {
"type": "boolean"
}
}
Antworten
200
Prometheus-Textformat ausschließlich mit Labels niedriger Kardinalität.
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
}
},
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
}
default
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
GET /public-api/v1/diff-projects/{id}/reports/{report_id}/alerts/metrics
Parameter
Zugehörige Datenmodelle: CacheControl · RateLimitLimit · RateLimitRemaining · RateLimitResetAt · RetryAfter · XRequestID · ErrorResponse · XID
id (path)
{
"required": true,
"schema": {
"$ref": "#/components/schemas/XID"
}
}
report_id (path)
Berichts-Xid oder das Literal last. Das Literal last wird nur in diesem Pfadparameter akzeptiert.
{
"required": true,
"schema": {
"type": "string",
"minLength": 4,
"maxLength": 64,
"pattern": "^([A-Za-z0-9_-]+|last)$"
}
}
url_md5 (query)
{
"schema": {
"type": "string",
"pattern": "^[a-fA-F0-9]{32}$"
}
}
email (query)
{
"schema": {
"type": "string",
"maxLength": 255
}
}
trigger_code (query)
{
"schema": {
"type": "string"
}
}
trigger_group (query)
{
"schema": {
"type": "string"
}
}
include_raw (query)
{
"schema": {
"type": "boolean"
}
}
Antworten
200
Prometheus-Textformat ausschließlich mit Labels niedriger Kardinalität.
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
}
},
"content": {
"text/plain": {
"schema": {
"type": "string"
}
}
}
}
default
{
"headers": {
"X-Request-ID": {
"$ref": "#/components/headers/XRequestID"
},
"X-RateLimit-Limit": {
"$ref": "#/components/headers/RateLimitLimit"
},
"X-RateLimit-Remaining": {
"$ref": "#/components/headers/RateLimitRemaining"
},
"X-RateLimit-Reset": {
"$ref": "#/components/headers/RateLimitResetAt"
},
"Cache-Control": {
"$ref": "#/components/headers/CacheControl"
},
"Retry-After": {
"$ref": "#/components/headers/RetryAfter"
}
},
"content": {
"application/json": {
"schema": {
"$ref": "#/components/schemas/ErrorResponse"
}
}
}
}
