Internal REST API¶
This namespace describes endpoints and data types for internal operations of the webservice.
Get the service status¶
This call can be used to check the status of the webservice.
Endpoint |
/actuator/health |
HTTP Methods |
GET |
Response Content Type |
|
Response Body |
|
Example Request¶
GET /actuator/health HTTP/1.1
Host: example.com
Accept: application/json
Example Response¶
{
"status": "UP"
}
Get the service build information¶
This call can be used to discover build information of the webservice.
Endpoint |
/actuator/info |
HTTP Methods |
GET |
Response Content Type |
|
Response Body |
|
Example Request¶
GET /actuator/info HTTP/1.1
Host: example.com
Accept: application/json
Example Response¶
{
"build": {
"artifact": "service",
"group": "com.tomtom.mpd.mcapi",
"name": "Map Content API/Service",
"time": "2023-11-07T13:01:36.000+0000",
"version": "2.4.1"
},
"git": {
"branch": "detached",
"commit": {
"id": "7f4cdd1",
"time": "2023-11-07T12:37:40.000Z"
}
}
}