Skip to content

Commit

Permalink
Update api.md
Browse files Browse the repository at this point in the history
  • Loading branch information
Blueforcer authored Apr 22, 2024
1 parent 6995859 commit 9588355
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions docs/api.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,11 +338,11 @@ Directly transition to a desired app using its name.
| `[PREFIX]/switch` | `http://[IP]/api/switch` | `{"name":"time"}` | POST |

**Built-in App Names**:
- `Time`
- `Date`
- `Temperature`
- `Humidity`
- `Battery`
- `time`
- `date`
- `temperature`
- `humidity`
- `battery`

For custom apps, employ the name you designated in the topic or HTTP parameter. In MQTT, if `[PREFIX]/custom/test` is your topic, then `test` would be the app's name.

Expand Down

0 comments on commit 9588355

Please sign in to comment.