57 lines
1.1 KiB
ReStructuredText
57 lines
1.1 KiB
ReStructuredText
|
GET localhost:8080/things
|
||
|
Accept: application/json
|
||
|
|
||
|
###
|
||
|
POST localhost:8080/things?type=THING&name=thing3
|
||
|
Accept: application/json
|
||
|
Content-Type: application/json
|
||
|
|
||
|
###
|
||
|
GET localhost:8080/things/thing3
|
||
|
Accept: application/json
|
||
|
|
||
|
###
|
||
|
DELETE localhost:8080/things/thing1
|
||
|
|
||
|
###
|
||
|
POST localhost:8080/things/thing3?type=INPUT&name=input1
|
||
|
Accept: application/json
|
||
|
Content-Type: application/json
|
||
|
|
||
|
###
|
||
|
POST localhost:8080/things/thing3?type=INPUT&name=input2
|
||
|
Accept: application/json
|
||
|
Content-Type: application/json
|
||
|
|
||
|
###
|
||
|
GET localhost:8080/things/thing3/input2
|
||
|
Accept: application/json
|
||
|
|
||
|
###
|
||
|
DELETE localhost:8080/things/thing3/input2
|
||
|
|
||
|
###
|
||
|
POST localhost:8080/things/thing3?type=OUTPUT&name=output1
|
||
|
Accept: application/json
|
||
|
Content-Type: application/json
|
||
|
|
||
|
###
|
||
|
POST localhost:8080/things/thing3?type=OUTPUT&name=output2
|
||
|
Accept: application/json
|
||
|
Content-Type: application/json
|
||
|
|
||
|
###
|
||
|
GET localhost:8080/things/thing3/output2
|
||
|
Accept: application/json
|
||
|
|
||
|
###
|
||
|
PUT localhost:8080/things/thing3/output2
|
||
|
Content-Type: application/json
|
||
|
|
||
|
###
|
||
|
GET localhost:8080/things/thing3/output2
|
||
|
Accept: application/json
|
||
|
|
||
|
###
|
||
|
DELETE localhost:8080/things/thing3/output2
|