GET
/
template
curl --request GET \
  --url https://app.teable.cn/api/template \
  --header 'Authorization: Bearer REPLACE_BEARER_TOKEN'
[
  {
    "id": "<string>",
    "name": "<string>",
    "categoryId": "<string>",
    "isSystem": true,
    "isPublished": true,
    "snapshot": {
      "baseId": "<string>",
      "snapshotTime": "2023-11-07T05:31:56Z",
      "spaceId": "<string>",
      "name": "<string>"
    },
    "description": "<string>",
    "baseId": "<string>",
    "cover": {
      "token": "xxxxxxxxxxx",
      "size": 1024,
      "url": "/bucket/xxxxx",
      "path": "/table/xxxxxx",
      "mimetype": "video/mp4",
      "width": 100,
      "height": 100,
      "name": "<string>",
      "id": "<string>",
      "presignedUrl": "<string>"
    },
    "usageCount": 123,
    "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.

The response is of type object[].