简体中文
get template detail by templateId
cURL
curl --request GET \ --url http://127.0.0.1:3000/api/template/{templateId} \ --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>" }
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Bearer <token>
<token>
Successfully get template detail.
显示 子属性
Token for the uploaded file
"xxxxxxxxxxx"
File size in bytes
1024
URL of the uploaded file
"/bucket/xxxxx"
file path
"/table/xxxxxx"
MIME type of the uploaded file
"video/mp4"
Image width of the uploaded file
100
Image height of the uploaded file
此页面对您有帮助吗?