• Document Up to Date

Version

Get a Crafter Deployer’s version details.

Resource Information

This service uses the deployer application on port 9191 by default. To see a list of default ports click here

The context for this API is /.

HTTP Verb
GET
URL
/api/1/monitoring/version
Response Formats
JSON

Parameters

Name
Type
Required
Description
token
String
The authorization token

Example

Request

GET .../api/1/monitor/version?token=defaultManagementToken

Response

Status 200 OK

 1{
 2  "packageName": "Crafter Deployer",
 3  "packageVersion": "3.1.0-SNAPSHOT",
 4  "packageBuild": "a68f1ff7ad84d5ecbeaa008f392e4cef0ca02f41",
 5  "packageBuildDate": "2019-03-07T21:03:05.422Z",
 6  "osName": "Mac OS X",
 7  "osVersion": "10.13.6",
 8  "osArch": "x86_64",
 9  "javaVersion": "1.8",
10  "javaVendor": "Oracle Corporation",
11  "javaVm": "Java HotSpot(TM) 64-Bit Server VM",
12}

Responses

Status
Location
Response Body
200

See example above.
400

{"message":"Required String parameter 'token' is not present"}
401

{"message":"Management authorization failed, invalid token."}
500



{ "message" : "Internal server error.
ACTUAL_EXCEPTION" }