Health - Get
Consulta la información de estado del servicio todo hacia arriba o con ámbito a un servicio o geografía determinado.
GET https://status.dev.azure.com/_apis/status/health?api-version=7.1-preview.1
GET https://status.dev.azure.com/_apis/status/health?services={services}&geographies={geographies}&api-version=7.1-preview.1
Parámetros de identificador URI
Nombre | En | Requerido | Tipo | Description |
---|---|---|---|---|
api-version
|
query | True |
string |
Versión de la API que se va a usar. Debe establecerse en "7.1-preview.1" para usar esta versión de la API. |
geographies
|
query |
string array (string) |
Lista separada por comas de zonas geográficas para las que se va a obtener información de estado. Valores admitidos: APAC, AU, BR, CA, EU, IN, UK, US. |
|
services
|
query |
string array (string) |
Lista separada por comas de servicios para los que se va a obtener información de estado. Valores admitidos: Artifacts, Boards, Core services, Other services, Pipelines, Repos, Test Plans. |
Respuestas
Nombre | Tipo | Description |
---|---|---|
200 OK |
operación correcta |
Ejemplos
Get service health |
Get service health for one or more geographies |
Get service health for one or more services |
Get service health for one or more services and one or more geographies |
Get service health
Sample Request
GET https://status.dev.azure.com/_apis/status/health?api-version=7.1-preview.1
Sample Response
{
"status": {
"health": "healthy",
"message": "Everything is looking good"
},
"services": [
{
"id": "Core services",
"geographies": [
{
"id": "US",
"name": "United States",
"health": "healthy"
},
{
"id": "CA",
"name": "Canada",
"health": "healthy"
},
{
"id": "BR",
"name": "Brazil",
"health": "healthy"
},
{
"id": "EU",
"name": "Europe",
"health": "healthy"
},
{
"id": "UK",
"name": "United Kingdom",
"health": "healthy"
},
{
"id": "APAC",
"name": "Asia Pacific",
"health": "healthy"
},
{
"id": "AU",
"name": "Australia",
"health": "healthy"
},
{
"id": "IN",
"name": "India",
"health": "healthy"
}
]
},
{
"id": "Boards",
"geographies": [
{
"id": "US",
"name": "United States",
"health": "healthy"
},
{
"id": "CA",
"name": "Canada",
"health": "healthy"
},
{
"id": "BR",
"name": "Brazil",
"health": "healthy"
},
{
"id": "EU",
"name": "Europe",
"health": "healthy"
},
{
"id": "UK",
"name": "United Kingdom",
"health": "healthy"
},
{
"id": "APAC",
"name": "Asia Pacific",
"health": "healthy"
},
{
"id": "AU",
"name": "Australia",
"health": "healthy"
},
{
"id": "IN",
"name": "India",
"health": "healthy"
}
]
},
{
"id": "Repos",
"geographies": [
{
"id": "US",
"name": "United States",
"health": "healthy"
},
{
"id": "CA",
"name": "Canada",
"health": "healthy"
},
{
"id": "BR",
"name": "Brazil",
"health": "healthy"
},
{
"id": "EU",
"name": "Europe",
"health": "healthy"
},
{
"id": "UK",
"name": "United Kingdom",
"health": "healthy"
},
{
"id": "APAC",
"name": "Asia Pacific",
"health": "healthy"
},
{
"id": "AU",
"name": "Australia",
"health": "healthy"
},
{
"id": "IN",
"name": "India",
"health": "healthy"
}
]
},
{
"id": "Pipelines",
"geographies": [
{
"id": "US",
"name": "United States",
"health": "healthy"
},
{
"id": "CA",
"name": "Canada",
"health": "healthy"
},
{
"id": "BR",
"name": "Brazil",
"health": "healthy"
},
{
"id": "EU",
"name": "Europe",
"health": "healthy"
},
{
"id": "UK",
"name": "United Kingdom",
"health": "healthy"
},
{
"id": "APAC",
"name": "Asia Pacific",
"health": "healthy"
},
{
"id": "AU",
"name": "Australia",
"health": "healthy"
},
{
"id": "IN",
"name": "India",
"health": "healthy"
}
]
},
{
"id": "Test Plans",
"geographies": [
{
"id": "US",
"name": "United States",
"health": "healthy"
},
{
"id": "CA",
"name": "Canada",
"health": "healthy"
},
{
"id": "BR",
"name": "Brazil",
"health": "healthy"
},
{
"id": "EU",
"name": "Europe",
"health": "healthy"
},
{
"id": "UK",
"name": "United Kingdom",
"health": "healthy"
},
{
"id": "APAC",
"name": "Asia Pacific",
"health": "healthy"
},
{
"id": "AU",
"name": "Australia",
"health": "healthy"
},
{
"id": "IN",
"name": "India",
"health": "healthy"
}
]
},
{
"id": "Artifacts",
"geographies": [
{
"id": "US",
"name": "United States",
"health": "healthy"
},
{
"id": "CA",
"name": "Canada",
"health": "healthy"
},
{
"id": "BR",
"name": "Brazil",
"health": "healthy"
},
{
"id": "EU",
"name": "Europe",
"health": "healthy"
},
{
"id": "UK",
"name": "United Kingdom",
"health": "healthy"
},
{
"id": "APAC",
"name": "Asia Pacific",
"health": "healthy"
},
{
"id": "AU",
"name": "Australia",
"health": "healthy"
},
{
"id": "IN",
"name": "India",
"health": "healthy"
}
]
},
{
"id": "Other services",
"geographies": [
{
"id": "US",
"name": "United States",
"health": "healthy"
},
{
"id": "CA",
"name": "Canada",
"health": "healthy"
},
{
"id": "BR",
"name": "Brazil",
"health": "healthy"
},
{
"id": "EU",
"name": "Europe",
"health": "healthy"
},
{
"id": "UK",
"name": "United Kingdom",
"health": "healthy"
},
{
"id": "APAC",
"name": "Asia Pacific",
"health": "healthy"
},
{
"id": "AU",
"name": "Australia",
"health": "healthy"
},
{
"id": "IN",
"name": "India",
"health": "healthy"
}
]
}
]
}
Get service health for one or more geographies
Sample Request
GET https://status.dev.azure.com/_apis/status/health?geographies=EU&api-version=7.1-preview.1
Sample Response
{
"status": {
"health": "healthy",
"message": "Everything is looking good"
},
"services": [
{
"id": "Core services",
"geographies": [
{
"id": "EU",
"name": "Europe",
"health": "healthy"
}
]
},
{
"id": "Boards",
"geographies": [
{
"id": "EU",
"name": "Europe",
"health": "healthy"
}
]
},
{
"id": "Repos",
"geographies": [
{
"id": "EU",
"name": "Europe",
"health": "healthy"
}
]
},
{
"id": "Pipelines",
"geographies": [
{
"id": "EU",
"name": "Europe",
"health": "healthy"
}
]
},
{
"id": "Test Plans",
"geographies": [
{
"id": "EU",
"name": "Europe",
"health": "healthy"
}
]
},
{
"id": "Artifacts",
"geographies": [
{
"id": "EU",
"name": "Europe",
"health": "healthy"
}
]
},
{
"id": "Other services",
"geographies": [
{
"id": "EU",
"name": "Europe",
"health": "healthy"
}
]
}
]
}
Get service health for one or more services
Sample Request
GET https://status.dev.azure.com/_apis/status/health?services=Pipelines&api-version=7.1-preview.1
Sample Response
{
"status": {
"health": "healthy",
"message": "Everything is looking good"
},
"services": [
{
"id": "Pipelines",
"geographies": [
{
"id": "US",
"name": "United States",
"health": "healthy"
},
{
"id": "CA",
"name": "Canada",
"health": "healthy"
},
{
"id": "BR",
"name": "Brazil",
"health": "healthy"
},
{
"id": "EU",
"name": "Europe",
"health": "healthy"
},
{
"id": "UK",
"name": "United Kingdom",
"health": "healthy"
},
{
"id": "APAC",
"name": "Asia Pacific",
"health": "healthy"
},
{
"id": "AU",
"name": "Australia",
"health": "healthy"
},
{
"id": "IN",
"name": "India",
"health": "healthy"
}
]
}
]
}
Get service health for one or more services and one or more geographies
Sample Request
GET https://status.dev.azure.com/_apis/status/health?services=Boards,Pipelines&geographies=AU&api-version=7.1-preview.1
Sample Response
{
"status": {
"health": "healthy",
"message": "Everything is looking good"
},
"services": [
{
"id": "Boards",
"geographies": [
{
"id": "AU",
"name": "Australia",
"health": "healthy"
}
]
},
{
"id": "Pipelines",
"geographies": [
{
"id": "AU",
"name": "Australia",
"health": "healthy"
}
]
}
]
}
Definiciones
Nombre | Description |
---|---|
Geography |
|
Scope |
|
Service |
|
Service |
|
Status |
GeographyWithHealth
Nombre | Tipo | Description |
---|---|---|
health | ||
id |
string |
|
name |
string |
ScopeHealth
Nombre | Tipo | Description |
---|---|---|
advisory |
string |
|
degraded |
string |
|
healthy |
string |
|
unhealthy |
string |
|
unknown |
string |
ServiceHealth
Nombre | Tipo | Description |
---|---|---|
geographies | ||
id |
string |
ServiceStatus
Nombre | Tipo | Description |
---|---|---|
lastUpdated |
string |
|
services | ||
status |
StatusSummary
Nombre | Tipo | Description |
---|---|---|
health | ||
message |
string |