Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
add new api methods to documentation
  • Loading branch information
TVLuke authored Nov 28, 2021
1 parent c194e93 commit d8bd34a
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,22 @@ Example:

curl --key my.key --cert my.crt https://$HOST/lock/123456 -X PUT --data unlock

## PUT /lock/{id}/open

Change state to unlock. Will return ACK or an HTTP error code.

Example:

curl --key my.key --cert my.crt https://$HOST/lock/123456/open -X PUT

## PUT /lock/{id}/close

Change state to lock. Will return ACK or an HTTP error code.

Example:

curl --key my.key --cert my.crt https://$HOST/lock/123456/close -X PUT

## PUT /door

Trigger door opener.
Expand Down

0 comments on commit d8bd34a

Please sign in to comment.