Get Status
Returns the Crafter Profile JVM status details.
Resource Information
This service uses the tomcat application on port 8080 by default. To see a list of default ports click here
The context for this API is /crafter-profile
, please prefix the API URLs with this context.
HTTP Verb
|
GET
|
URL
|
/api/1/monitoring/status |
Response Formats
|
JSON |
Parameters
Name
|
Type
|
Required
|
Description
|
---|---|---|---|
token
|
String
|
✓
|
The authorization token
|
Example
Request
GET .../api/1/monitoring/status.json?token=defaultManagementToken
Response
Status 200 OK
{
"uptime": 4801,
"startup": "2019-03-07T21:29:11.049Z",
}
Responses
Status
|
Location
|
Response Body
|
---|---|---|
200
|
See example above.
|
|
400
|
{“errorCode”:”OTHER”,
“message”:”Required String parameter ‘token’ is not present”}
|
|
401
|
{“errorCode”:”ACCESS_DENIED”,
“message”:”Management authorization failed, invalid token.”}
|
|
500
|
{ "message" : "Internal server error" } |