跳转到主要内容
GET
/
trash
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/trash \
  --header 'Authorization: Bearer <token>'
{
  "trashItems": [
    {
      "id": "<string>",
      "resourceId": "<string>",
      "resourceType": "space",
      "deletedTime": "<string>",
      "deletedBy": "<string>"
    }
  ],
  "userMap": {},
  "resourceMap": {},
  "nextCursor": "<string>"
}

授权

Authorization
string
header
必填

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

查询参数

resourceType
enum<string>
必填
可用选项:
space,
base

响应

200 - application/json

Get trash successfully

trashItems
object[]
必填
userMap
object
必填
resourceMap
object
必填
nextCursor
string | null
Last modified on December 10, 2025