Led
API Reference
Path parameters
circuitstringRequired
Body
valueinteger · max: 1Required
Value must be between 0 and 1
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /controller/led/{circuit} HTTP/1.1
Host: robopipe-1.local
Content-Type: application/json
Accept: */*
Content-Length: 11
{
"value": 1
}
{
"dev": "text",
"circuit": "text",
"value": 1
}
Body
valueinteger · max: 1Required
Value must be between 0 and 1
Responses
200
Successful Response
application/json
422
Validation Error
application/json
post
POST /controller/led HTTP/1.1
Host: robopipe-1.local
Content-Type: application/json
Accept: */*
Content-Length: 11
{
"value": 1
}
[
{
"dev": "text",
"circuit": "text",
"value": 1
}
]
Last updated