Workspaces
Get a workspace
The workspace's name, the caller's role in it and its default region (where new resources go).
Authorization
AuthorizationstringheaderrequiredBearer <key>, where <key> is a workspace API key or a user API key. See Authentication.
workspace_id*integerThe workspace. List the ones your key can reach with GET /v1/workspaces.
OK
application/json- response
A workspace the caller can act in
workspace_id*Workspace Idworkspace_name*Workspace Namerole*|The caller's role in the workspace: viewer, editor or owner (a workspace API key acts as an editor)
default_region*|The region the web app opens on and new resources go to by default
curl -X GET 'https://api.stacksync.com/v1/workspaces/0'{ "workspace_id": 0, "workspace_name": "<workspace_name>", "role": "viewer", "default_region": "besg"}GETList the members of a workspace
The people of the workspace with their role, and its groups with their members: the user_id and group_id an access grant names its principal by. Pending invitations are not members yet.
GETList regions
The regions a resource can live in. Routes acting on a regional resource take one as the `region` parameter.