Get Version

Returns the Crafter Social JVM version 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-social, please prefix the API URLs with this context.

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

Parameters

Name
Type
Required
Description
token
String
The authorization token

Example

Request

GET .../api/3/monitoring/version.json?token=defaultManagementToken

Response

Status 200 OK

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

Responses

Status
Location
Response Body
200

See example above.
400



{“error”:”Required String parameter ‘token’ is not present”,
“message”:”Required String parameter ‘token’ is not present”}
401



{“error”:”Management authorization failed, invalid token.”,
“message”:”Management authorization failed, invalid token.”}
500

{ "message" : "Internal server error" }