21 lines
421 B
HTTP
21 lines
421 B
HTTP
### add type
|
|
POST {{hostname}}/type
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"name": "Test Device 001",
|
|
"description": "Description of test device."
|
|
}
|
|
|
|
### get type by id
|
|
GET {{hostname}}/type-00000000-0000-0000-0000-000000000000
|
|
|
|
### update type by id
|
|
PUT {{hostname}}/type-00000000-0000-0000-0000-000000000000
|
|
Content-Type: application/json
|
|
|
|
{
|
|
"name": "Test Device 001",
|
|
"description": "Description of test device."
|
|
}
|