다음을 통해 공유


Health - Get

서비스 올업에 대한 정보를 상태 쿼리하거나 특정 서비스 및/또는 지리적 위치로 범위가 지정됩니다.

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

URI 매개 변수

Name In(다음 안에) 필수 형식 Description
api-version
query True

string

사용할 API의 버전입니다. 이 버전의 api를 사용하려면 '7.1-preview.1'로 설정해야 합니다.

geographies
query

string

array (string)

상태 정보를 가져올 쉼표로 구분된 지리 목록입니다. 지원되는 값: APAC, AU, BR, CA, EU, IN, UK, US.

services
query

string

array (string)

상태 정보를 가져올 쉼표로 구분된 서비스 목록입니다. 지원되는 값: 아티팩트, 보드, 핵심 서비스, 기타 서비스, 파이프라인, 리포지토리, Test Plans.

응답

Name 형식 Description
200 OK

ServiceStatus

성공한 작업

예제

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"
        }
      ]
    }
  ]
}

정의

Name Description
GeographyWithHealth
ScopeHealth
ServiceHealth
ServiceStatus
StatusSummary

GeographyWithHealth

Name 형식 Description
health

ScopeHealth

id

string

name

string

ScopeHealth

Name 형식 Description
advisory

string

degraded

string

healthy

string

unhealthy

string

unknown

string

ServiceHealth

Name 형식 Description
geographies

GeographyWithHealth[]

id

string

ServiceStatus

Name 형식 Description
lastUpdated

string

services

ServiceHealth[]

status

StatusSummary

StatusSummary

Name 형식 Description
health

ScopeHealth

message

string