附件字段说明
数据结构
字段名 | 字段描述 |
---|---|
file_token | 文件 token |
name | 文件名称 |
size | 文件大小 |
tmp_url | 文件临时下载链接 |
type | 文件类型 |
url | 文件的下载 URL |
{
"任务附件": [
{
"file_token": "boxcnzm3dPEcutYDPplx5iDak4b",
"name": "Hawaii_1_15Retina_R.jpg",
"size": 5069121,
"tmp_url": "https://open.feishu.cn/open-apis/drive/v1/medias/batch_get_tmp_download_url?file_tokens=boxcnzm3dPEcutYDPplx5iDak4b",
"type": "image/jpeg",
"url": "https://open.feishu.cn/open-apis/drive/v1/medias/boxcnzm3dPEcutYDPplx5iDak4b/download"
}
]
}
上传附件
{
"records": [
{
"fields": {
"附件": [
{"file_token": "boxbcCFb2dBwMK9S8kDILk1tayh"},
{"file_token": "boxbcCFb2dBwMK9S8kDILk1tayh"}
]
}
},
{
"fields": {
"附件": [
{"file_token": "boxbcCFb2dBwMK9S8kDILk1tayh"},
{"file_token": "boxbcCFb2dBwMK9S8kDILk1tayh"}
]
}
}
]
}
{
"code": 0,
"data": {
"records": [
{
"fields": {
"附件": [
{
"file_token": "boxbcCFb2dBwMK9S8kDILk1tayh"
},
{
"file_token": "boxbcCFb2dBwMK9S8kDILk1tayh"
}
]
},
"id": "recxgOKlB0"
},
{
"fields": {
"附件": [
{
"file_token": "boxbcCFb2dBwMK9S8kDILk1tayh"
},
{
"file_token": "boxbcCFb2dBwMK9S8kDILk1tayh"
}
]
},
"id": "reciGVHpI8"
}
]
},
"msg": "Success"
}
下载附件
{
"code": 0,
"data": {
"record": {
"fields": {
"人力评估": "8",
"任务执行人": [
{
"annotation_union_type": "person",
"email": "",
"en_name": "周北北",
"id": "ou_be7f7ff11f5107962c0493f59409508b",
"name": "周北北"
}
],
"任务描述": "功能开发",
"任务附件": [
{
"file_token": "boxcn8Ebe2Z68hXTsW8t1TuZCSd",
"name": "2.gif",
"size": 10250625,
"tmp_url": "https://open.feishu.cn/open-apis/drive/v1/medias/batch_get_tmp_download_url?file_tokens=boxcn8Ebe2Z68hXTsW8t1TuZCSd",
"type": "image/gif",
"url": "https://open.feishu.cn/open-apis/drive/v1/medias/boxcn8Ebe2Z68hXTsW8t1TuZCSd/download"
}
],
"对应 OKR": [
{
"text": "KR 2.2 推进新功能研发,KR 2.3 修补已知功能漏洞",
"type": "text"
}
],
"截止日期": 1612108800000,
"未命名 1": null,
"状态": "开发中",
"相关部门": [
"研发"
]
},
"id": "reczXt4wo5"
}
},
"msg": "Success"
}
修改于 2023-01-18 08:08:26