跳转到主要内容
GET
/
template
cURL
curl --request GET \
  --url http://127.0.0.1:3000/api/template \
  --header 'Authorization: Bearer <token>'
[
  {
    "id": "<string>",
    "snapshot": {
      "baseId": "<string>",
      "snapshotTime": "2023-11-07T05:31:56Z",
      "spaceId": "<string>",
      "name": "<string>"
    },
    "cover": {
      "token": "xxxxxxxxxxx",
      "size": 1024,
      "url": "/bucket/xxxxx",
      "path": "/table/xxxxxx",
      "mimetype": "video/mp4",
      "name": "<string>",
      "id": "<string>",
      "presignedUrl": "<string>",
      "width": 100,
      "height": 100
    },
    "usageCount": 123,
    "name": "<string>",
    "categoryId": "<string>",
    "isSystem": true,
    "isPublished": true,
    "description": "<string>",
    "baseId": "<string>",
    "markdownDescription": "<string>"
  }
]

授权

Authorization
string
header
必填

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

响应

201 - application/json

Successfully get template list.

id
string
必填
snapshot
object
必填
cover
object
必填
usageCount
number
必填
name
string
categoryId
string
isSystem
boolean
isPublished
boolean
description
string
baseId
string
markdownDescription
string
Last modified on December 10, 2025