GameCenter Web Api

<back to all web services

GetDetailedHealth

Gets the health status for the API. Returns a server 5xx if the API is not ready.

The following routes are available for this service:
GET/health

To override the Content-type in your clients HTTP Accept Header, append the .xml suffix or ?format=xml

HTTP + XML

The following are sample HTTP requests and responses. The placeholders shown need to be replaced with actual values.

POST /xml/reply/GetDetailedHealth HTTP/1.1 
Host: api.digitalscout.com 
Content-Type: application/xml
Content-Length: length

<GetDetailedHealth xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameCenter.Api.Models.System" />
HTTP/1.1 200 OK
Content-Type: application/xml
Content-Length: length

<HealthResponse xmlns:i="http://www.w3.org/2001/XMLSchema-instance" xmlns="http://schemas.datacontract.org/2004/07/GameCenter.Api.Models.System">
  <Api>false</Api>
  <CacheSize>String</CacheSize>
  <Db>false</Db>
  <Hf>false</Hf>
  <IsHealthy>false</IsHealthy>
  <MT>false</MT>
  <Rdb>false</Rdb>
  <ResponseTimeSeconds>0</ResponseTimeSeconds>
  <S3>false</S3>
  <SM>false</SM>
  <TIDir>false</TIDir>
  <Web>false</Web>
</HealthResponse>