跳转到主要内容
GET
/
admin
/
space
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/admin/space \
  --header 'Authorization: Bearer <token>'
{
  "data": [
    {
      "id": "<string>",
      "name": "<string>",
      "createdTime": "<string>",
      "autoJoin": true,
      "baseCount": 123,
      "collaboratorCount": 123
    }
  ],
  "total": 123,
  "page": 123,
  "pageSize": 123
}

授权

Authorization
string
header
必填

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

查询参数

page
number
默认值:1
必填范围: x >= 1
pageSize
number
默认值:10
必填范围: 1 <= x <= 100

响应

200 - application/json

Returns paginated spaces for the instance.

data
object[]
必填
total
number
必填
page
number
必填
pageSize
number
必填
Last modified on December 10, 2025