跳转到主要内容
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>"
  }
]

Authorizations

Authorization
string
header
required

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

Response

201 - application/json

Successfully get template list.

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