Submit heartbeat request:
HTTP GET
to remote server: <base_remote_url>/heartbeat
For example: https://yourmatchmaker.org/heartbeat
HTTP GET
request to <base_remote_url>/heartbeat
- Mandatory,
- This is a protected resource and as such requires the use of an API key to access.
A synchronous application/json
response, of the following form:
{
"heartbeat": {
"production": true,
"version": "software release version",
"accept": ["application/vnd.ga4gh.matchmaker.v1.0+json", "application/vnd.ga4gh.matchmaker.v1.1+json"]
},
"disclaimer": "...",
}
- Mandatory,
- Contains the heartbeat response.
- Mandatory
- Set to 'true' if the responding system is a production system, 'false' if not.
- Mandatory
- Internal software version of the responding system, for example GeneMatcher would return "6.2".
- Mandatory
- Array of MME version mime types that responding system supports.
- Optional
- Optional disclaimer.
Possible response codes are as follows:
HTTP Status Code | Reason Phrase | Description |
---|---|---|
200 | OK | no error |
401 | Unauthorized | invalid API key |
500 | Internal Server Error | default error |
No content or non json content may be returned if the response code is anything other than 200.