GET SUT ID Method

This method returns a single system under test (SUT) by ID.

Syntax:

GET /api/sut/<id>

Curl

$> curl 'http://localhost:8080/api/sut/58c38f5d444553252cce0000' -H 'Authorization: Basic YWRtaW46YWRtaW4='

Raw Request

GET /api/sut/58c38f5d444553252cce0000 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

{

"_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"

}

}

 

This topic was last updated on August 19, 2021, at 03:30:51 PM.

Eggplant icon Eggplantsoftware.com | Documentation Home | User Forums | Support | Copyright © 2022 Eggplant