v1 server and lifecycle manager working. execution contract added
This commit is contained in:
@@ -0,0 +1,26 @@
|
||||
import os
|
||||
|
||||
unavailabletime = int(os.environ.get("AVAILABLE_DURATION",3))
|
||||
|
||||
duration = unavailabletime - 1
|
||||
|
||||
name = "Set Unavailable"
|
||||
|
||||
kind = "action"
|
||||
|
||||
keys = [
|
||||
{
|
||||
"keytitle": "online",
|
||||
"keyvalue": 2,
|
||||
},
|
||||
{
|
||||
"keytitle": "duration",
|
||||
"keytitle": duration,
|
||||
},
|
||||
]
|
||||
|
||||
method = "PUT"
|
||||
|
||||
path = "https://rentmasseur.com/api/v1/account/dashboard/availability"
|
||||
|
||||
#headers = "Authorization:" f"Bearer {access_token}"
|
||||
Reference in New Issue
Block a user