跳转到主要内容
GET
/
space
Get space list
curl --request GET \
  --url http://127.0.0.1:3000/api/space \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "name": "<string>",
    "role": "owner",
    "organization": {
      "id": "<string>",
      "name": "<string>"
    }
  }
]

授权

Authorization
string
header
必填

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

响应

200 - application/json

Returns the list of space.

id
string
必填
name
string
必填
role
enum<string>
必填
可用选项:
owner,
creator,
editor,
commenter,
viewer
organization
object
Last modified on December 10, 2025