Controller

https://catpalm.net/api/controller/${controller.name}/

"distance" indicates how many milliseconds have passed since the last trigger, never used or not used for more than 3 days, then "null" is returned.

Get monitor information

GET https://catpalm.net/api/controller/${controller.name}/call

Path Parameters

Name
Type
Description

controller.name*

str

Headers

Name
Type
Description

Authorization*

str

{
    "distance": null
}
{
    "distance": 2302300
}

Request monitor response

PUT https://catpalm.net/api/controller/${controller.name}/call

Path Parameters

Name
Type
Description

controller.name*

str

Headers

Name
Type
Description

Authorization*

str

Get trigger information

GET https://catpalm.net/api/controller/${controller.name}/receive

Path Parameters

Name
Type
Description

controller.name*

str

Headers

Name
Type
Description

Authorization*

str

{
    "distance": null
}
{
    "distance": 2302300
}

最后更新于