Added Space organization

This commit is contained in:
Lyncoln
2026-10-14 16:56:59 -04:00
parent 56ae0ace33
commit b4bb3b0c05
13 changed files with 162 additions and 14 deletions
@@ -0,0 +1,32 @@
import os
name = "Synapse Get Space ID"
kind = "action"
showstatus = True
resolve = {
"sender": ["messages", 0, "senderId"],
"locationcode": ["profile", "searchCity"],
}
method = "GET"
path = [
"https://loxthelion.com/_matrix/client/v3/directory/room/%23rmass_spacetest_",
{"resolved": "locationcode"},
"%3Aloxthelion.com",
]
headers = {
"Authorization": {
"os": "AS_TOKEN",
"prefix": "Bearer ",
},
"Content-Type": "application/json",
}
outputs = {
"space_id": "room_id",
}