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

Authorizations

Authorization
string
header
required

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

Path Parameters

spaceId
string
required

Response

200 - application/json

Returns information about a space.

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