GET
/
users
/
{userId}
/
spaces
List user spaces
curl --request GET \
  --url https://forgegames.org/api/users/{userId}/spaces \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "id": "<string>",
    "teamId": "<string>",
    "userId": "<string>",
    "externalId": "<string>",
    "spaceId": "<string>",
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "space": {
      "id": "<string>",
      "name": "<string>",
      "cols": 123,
      "rows": 123,
      "createdAt": "<string>",
      "updatedAt": "<string>",
      "teamId": "<string>"
    }
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

userId
string
required
Maximum length: 191

Response

Successful response

id
string
required
Maximum length: 191
teamId
string
required
Maximum length: 191
userId
string
required
Maximum length: 191
externalId
string | null
required
Maximum length: 191
spaceId
string
required
Maximum length: 191
createdAt
string
required
updatedAt
string | null
required
space
object
required