Saltar al contenido principal
GET
/
notifications
/
topics
Listar Temas Disponibles
curl --request GET \
  --url https://api.altostrat.io/notifications/topics \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "top_9cffb446-18a5-445a-948c-e6f1d98930af",
    "name": "Fallo de WAN",
    "slug": "wan-failover"
  }
]

Authorizations

Authorization
string
header
required

Altostrat utiliza OAuth2 para la autenticación. Los tokens se pueden obtener de la API de Autenticación de Altostrat.

Response

200 - application/json

Una lista de temas de notificación disponibles.

id
string<uuid>

El identificador único para el tema.

Example:

"top_9cffb446-18a5-445a-948c-e6f1d98930af"

name
string

El nombre legible por humanos del tema.

Example:

"Fallo de WAN"

slug
string

Un slug legible por máquina para el tema, utilizado para enrutar eventos.

Example:

"wan-failover"