Get Engine Details - GET /sast/engineServers/{id} (v8.5.0)

Get details of a specific engine server.

URL

/cxrestapi/sast/engineServers/{id}

Method:

GET

Media Type (header):

Authorization: Bearer <access token value>
Accept: application/json;v=0.1

URL Parameters

Required:
id=[integer] – Unique Id of the engine server

Data Parameters

None

Success Response:

Code: 200 OK

Error Response:

Code: 404 Server Id not Found

Sample Response:

{
  "id": 1,
  "name": "Localhost",
  "uri": "http://Localhost/CxSourceAnalyzerEngineWCF/CxEngineWebServices.svc",
  "minLoc": 0,
  "maxLoc": 999999999,
  "isAlive": true,
  "maxScans": 2,
  "isBlocked": false,
  "cxVersion": "8.6.0.1702"
}

Notes:

Retrieves details of a specific engine server by Id. If the request fails, it returns an error response. Must be a valid (registered) engine server in order to get details.