Proteside Docs
Referência de endpointsAlertas

Obter um alerta

GET
/alerts/{id}

Autorização

bearerAuth
headerAutorizaçãoBearer <token>

Token de API criado em Configurações → API. Os escopos ficam vinculados ao token; cada operação lista o escopo exigido em x-scope.

Parâmetros de caminho

id*string
Formatouuid

Parâmetros de consulta

org_id?string

Somente parceiros (orgs:manage): atua sobre esta organização filha. Também pode ser enviado como org_id em corpos JSON.

Formatouuid

Corpo da resposta

Alerta

application/json
  1. response
id?string
Formatouuid
store_id?string
Formatouuid
type?string
change_type?string|null
severity?string
Valor em"critical""high""medium""low""info"
status?string
Valor em"open""resolved"
source?string|null
page?string|null
details?|null
fingerprint?string|null
occurrences?integer
sessions_count?integer
first_seen_at?|
Formatodate-time
last_seen_at?|
Formatodate-time
resolved_at?|
Formatodate-time
resolved_by_label?string|null
note?string|null
snoozed_until?|
Formatodate-time
auto_resolved?boolean
created_at?string
Formatodate-time
curl -X GET "https://example.com/alerts/497f6eca-6276-4993-bfeb-53cbbbba6f08"
{  "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",  "store_id": "7fe87115-950c-4ae8-bd7e-970406bc9ac0",  "type": "string",  "change_type": "string",  "severity": "critical",  "status": "open",  "source": "string",  "page": "string",  "details": {},  "fingerprint": "string",  "occurrences": 0,  "sessions_count": 0,  "first_seen_at": "2019-08-24T14:15:22Z",  "last_seen_at": "2019-08-24T14:15:22Z",  "resolved_at": "2019-08-24T14:15:22Z",  "resolved_by_label": "string",  "note": "string",  "snoozed_until": "2019-08-24T14:15:22Z",  "auto_resolved": true,  "created_at": "2019-08-24T14:15:22Z"}