get template detail by templateId
curl --request GET \
--url https://app.teable.cn/api/template/%7BtemplateId%7D \
--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>"
}
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Successfully get template detail.
The response is of type object
.
curl --request GET \
--url https://app.teable.cn/api/template/%7BtemplateId%7D \
--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>"
}