[doc] /config/{last_update,mac_address}
This commit is contained in:
parent
17c1443bfc
commit
efe7c4383d
1 changed files with 51 additions and 0 deletions
|
|
@ -62,6 +62,57 @@ paths:
|
|||
'415':
|
||||
description: Sent data cannot be treated
|
||||
|
||||
/config/mac_address:
|
||||
get:
|
||||
operation: get_mac_address
|
||||
summary: Retrieves current mac address (in the configuration)
|
||||
responses:
|
||||
'200':
|
||||
description: The mac address value
|
||||
content:
|
||||
text/plain:
|
||||
examples: 00:11:22:33:44:55
|
||||
post:
|
||||
operation: set_mac_address
|
||||
summary: Sets current mac address (in the configuration)
|
||||
content:
|
||||
text/plain:
|
||||
description: If empty, sets to machine current mac
|
||||
examples:
|
||||
ff:ee:dd:cc:bb:aa
|
||||
responses:
|
||||
'200':
|
||||
description: The mac address value
|
||||
content:
|
||||
examples: 00:11:22:33:44:55
|
||||
|
||||
/config/last_update:
|
||||
get:
|
||||
operation: get_last_update
|
||||
summary: Retrieves heatpump.last_update current value (in the configuration)
|
||||
responses:
|
||||
'200':
|
||||
description: The last update timestamp
|
||||
content:
|
||||
text/plain:
|
||||
examples: 00:11:22:33:44:55
|
||||
post:
|
||||
operation: set_last_update
|
||||
summary: Sets heatpump.last_update value (in the configuration)
|
||||
content:
|
||||
text/plain:
|
||||
description: If 0, sets to current time
|
||||
If < 0, sets to +x seconds
|
||||
If > 0, sets to -x seconds
|
||||
examples:
|
||||
0
|
||||
responses:
|
||||
'200':
|
||||
description: The last_update timestamp
|
||||
content:
|
||||
examples: 1600205650
|
||||
|
||||
|
||||
/variable_types:
|
||||
get:
|
||||
operation: get_variable_types
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue