Skip to main content
GET
/
spaces
List Spaces
curl --request GET \
  --url https://forgegames.org/api/spaces \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "cols": 123,
    "rows": 123,
    "createdAt": "<string>",
    "updatedAt": "<string>",
    "teamId": "<string>",
    "userSpaces": [
      {
        "id": "<string>",
        "userId": "<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.

Query Parameters

userId
string

Response

Successful response

id
string
required
Maximum length: 191
name
string
required
Maximum length: 191
cols
number
required
rows
number
required
createdAt
string
required
updatedAt
string | null
required
teamId
string
required
Maximum length: 191
userSpaces
object[]
required
I