import os name = "Synapse Get Space ID" kind = "action" showstatus = True resolve = { "get": { "locationcode": ["profile", "searchCity"], }, "construct": { "matrixspace": [ "%23rmass_space_", {"resolved": "locationcode"}, "%3Aloxthelion.com", ], }, } method = "GET" path = [ "https://loxthelion.com/_matrix/client/v3/directory/room/", {"resolved": "matrixspace"}, ] headers = { "Authorization": { "os": "AS_TOKEN", "prefix": "Bearer ", }, "Content-Type": "application/json", } outputs = { "space_id": "room_id", }