简体中文
Get space list by query
cURL
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>" } } ]
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Returns the list of space.
owner
creator
editor
commenter
viewer
显示 子属性
此页面对您有帮助吗?