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

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": {}

}

 

This topic was last updated on 2月 01, 2019, at 11:13:23 午前.

Eggplant icon Eggplant.io | Documentation Home | User Forums | Support | Copyright © 2019 Eggplant