There is an error in the API documentation. It defines an endpoint for reading and setting the Bluelight:
http://docs-local.appbond.com/#tag/Bluelight
However, it appears that this funcrtionality is included in the Bridge endpoint:
http://docs-local.appbond.com/#tag/Bridge
Hi @cmhaagen , the local API is still in beta, so this kind of misunderstanding can happen.
@jacob can you please check if there’s a new version of local API documentation?
jacob
June 3, 2019, 4:21pm
3
Hey @cmhaagen , you’re right, bluelight
is now part of the bridge
endpoint. An update to the documentation reflecting this should come any day now.
1 Like
jacob
February 3, 2020, 3:16pm
5
The fix to display the bridge
endpoint is ready, it’ll be merged when @merck is available.
1 Like
I worked it out
Endpoint “/v2/bridge”,
Method: PATCH,
DATA:
class ExtraBondBridgeInfo
{
public string name { get; set; }
public string location { get; set; }
public int bluelight { get; set; }
public string _ { get; set; }
}
jacob
February 4, 2020, 2:43pm
7
Right, except the hash ("_"
) cannot be set.
Yeah, and the value is 0 - 255