GET
/
users
/
{userId}
/
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

200
application/json
Successful response

The response is of type object[].