Trigger single-click action for device button

1. API Description

This API is used to trigger a single-click action for a device button.

Request mode:

  • V2.6.0 and above: POST/GET [ip]/mwapi/V2.0/button/action/n
  • V2.5.0 and below: POST/GET [ip]/mwapi/button-action/n

Note: [n] represents the sequence of device buttons, with values ranging from 1 to 5.

Administrator Rights Logged-in
No No

2. Input Parameters

None

3. Output Parameters

Name Type Description
status Int Status code

4. Example

Triggering a single-click action for a device button.

Input Example
None
Output Example
{
  "status": 0,
}

5. Error Code

No error code related to the API business logic. For other error codes, see Common Error Codes.

results matching ""

    No results matching ""