This method displays the list of agents, engines, and SQDaemon version.
HTTP Request
- Supported Method: POST
/api/v1/server/inventory - Parameter name: serverRequest
- Input Field
Parameter Type Description runtimeServerHost string The name of the runtime server. For example, Localhost. runtimeServerPort integer This port number should match whatever listener port you selected when installing the Apply engine. For example, 2626.
- Input Field
- Parameter content type - Both request body data and response data are formatted as JSON. Content type for responses will always be
application/json.
Code example
You can use cURL to execute the call. For example,
curl 'http://localhost:8026/api/v1/server/inventory'
-H "Content-Type: application/json"
-X POST
-d '
{
"runtimeServerHost": "localhost",
"runtimeServerPort": 2626
}Postman works the same way. Use Postman to query the end point with the Json payload list below. For example,
{
"runtimeServerHost": "localhost",
"runtimeServerPort": 2626
}
"url": http://localhost:8026/api/v1/server/inventoryResponse Fields
Code 200 - OK
| Response Element | Type | Description |
| createdAt | string | |
| id | string | |
| message | string | |
| result | string | |
| success | boolean | |
| version | string |