GET SUT Method
This method returns a list of all systems under test (SUTs).
Syntax:
GET /api/sut
Curl
$> curl 'http://localhost:8080/api/sut' -H 'Authorization: Basic YWRtaW46YWRtaW4='
Raw Request
GET /api/sut HTTP/1.1
Host: localhost:8080
Authorization: Basic YWRtaW46YWRtaW4=
Read Keys
Parameter | Type |
---|---|
_id | Id |
created_at | Datetime |
updated_at | Datetime |
name | String |
description | String |
is_active | Boolean |
manufacturer | String |
model | String |
os | String |
version | String |
tags | |
monitoring | Hash |
address | String |
port | Integer |
sut_type | String enum['vnc', 'rdp', 'tcp' ] |
user_name | String |
rdp_height | Integer |
rdp_width | Integer |
Response Body
{
"limit": 100,
"offset": 0,
"count": 1,
"suts": [{
"_id": "58c38f5d444553252cce0000",
"created_at": "2017-03-11T05:47:09.000Z",
"updated_at": "2017-04-06T07:53:34.000Z",
"name": "Win10",
"description": "",
"is_active": true,
"manufacturer": "",
"model": "",
"os": "",
"version": "",
"tags": {},
"monitoring": {
"status": "Online",
"last_updated": "2019-04-05T11:33:26-06:00",
"status_description": "SUT is online"
}
}]
}