Client.dut_instance¶
Fetch a DUT instance by id.
Server: GET /api/foundry/dut-instances/{id}/.
Signature¶
dut_instance(instance_id: str) -> DUTInstance
Parameters¶
| Name | Type | Required | Default |
|---|---|---|---|
instance_id |
str |
yes | - |
HTTP parameters¶
| Name | In | Type | Required | Default |
|---|---|---|---|---|
instance_id |
path |
string |
yes | - |
Fields¶
| Field |
|---|
instance_id |
Return shape¶
HTTP 200 — OK
Schema: DutInstanceSchema
| Field | Type | Required |
|---|---|---|
attributes |
object |
yes |
dut_id |
string |
yes |
id |
string |
yes |
serial |
string |
yes |
Permission¶
Required permission: Any signed-in user
HTTP¶
GET /api/foundry/dut-instances/{instance_id}/ (retrieveDutInstance)
Usage¶
client.dut_instance(instance_id)