v1 server and lifecycle manager working. execution contract added

This commit is contained in:
Lyncoln
2026-10-08 09:31:29 -04:00
commit f4742f00e0
108 changed files with 750 additions and 0 deletions
+47
View File
@@ -0,0 +1,47 @@
import os
name = "Login"
kind = "action"
showstatus = True
username = os.environ["RM_USER"]
password = os.environ["RM_PASS"]
keys = [
{
"keytitle": "email",
"keyvalue": username,
},
{
"keytitle": "password",
"keyvalue": password,
},
{
"keytitle": "csrf",
"keyvalue": {
"outputs": "csrf_token",
},
},
{
"keytitle": "remember",
"keyvalue": 1,
},
]
method = "POST"
path = "https://rentmasseur.com/api/v1/login"
outputs = {
"access_token": "accessToken",
"refresh_token": "refreshToken",
}
savedata = [
"access_token",
"refresh_token",
]
savepath = "/home/david/tokens.json"