add http files
This commit is contained in:
20
http/device-registry/type.http
Normal file
20
http/device-registry/type.http
Normal file
@@ -0,0 +1,20 @@
|
||||
### 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."
|
||||
}
|
||||
Reference in New Issue
Block a user