HTTP状态码 | 错误码 | 描述 | 排查建议 |
---|---|---|---|
500 | 1009999 | Unknown error. Please contact Feishu Assistant or your customer success manager. | 内部错误,请联系飞书助手或您的客户成功经理 |
500 | 1009998 | system exception | 系统异常 |
400 | 1001001 | Invalid parameters. Please check document and modify accordingly. | 无效的参数,请对照文档检查输入的参数 |
400 | 1001002 | No permission. | 您无权访问该接口,请确认您的登录凭证 |
400 | 1001003 | User not found. | 用户不存在 |
400 | 1001004 | OKR data not found. | 对应ID的数据不存在 |
curl --location --request GET 'https://open.feishu.cn/open-apis/okr/v1/progress_records/7041857032248410131?user_id_type=' \
--header 'Authorization;' \
--header 'Content-Type: application/json' \
--data-raw '{
"content":{
"blocks":[
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"粗体更新",
"style":{
"bold":true
}
}
}
]
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"*",
"style":{
"bold":true
}
}
},
{
"type":"textRun",
"textRun":{
"text":"删除线更新",
"style":{
"strikeThrough":true
}
}
}
]
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"字体颜色更新",
"style":{
"textColor":{
"red":216,
"green":57,
"blue":49,
"alpha":1
}
}
}
}
]
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"背景颜色验证",
"style":{
"backColor":{
"red":251,
"green":191,
"blue":188,
"alpha":1
}
}
}
}
]
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"粗体+删除+字体颜色+背景颜色验证",
"style":{
"bold":true,
"strikeThrough":true,
"backColor":{
"red":251,
"green":191,
"blue":188,
"alpha":1
},
"textColor":{
"red":216,
"green":57,
"blue":49,
"alpha":1
}
}
}
}
]
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"有序标题1验证,",
"style":{
}
}
},
{
"type":"textRun",
"textRun":{
"text":"粗体验证",
"style":{
"bold":true
}
}
}
],
"style":{
"list":{
"type":"number",
"indentLevel":1,
"number":1
}
}
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"有序标题2验证,",
"style":{
}
}
},
{
"type":"textRun",
"textRun":{
"text":"删除线验证",
"style":{
"strikeThrough":true
}
}
}
],
"style":{
"list":{
"type":"number",
"indentLevel":1,
"number":2
}
}
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"有序标题3验证,",
"style":{
}
}
},
{
"type":"textRun",
"textRun":{
"text":"字体背景颜色验证",
"style":{
"backColor":{
"red":251,
"green":191,
"blue":188,
"alpha":1
},
"textColor":{
"red":216,
"green":57,
"blue":49,
"alpha":1
}
}
}
}
],
"style":{
"list":{
"type":"number",
"indentLevel":1,
"number":3
}
}
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"无序标题1验证,",
"style":{
}
}
},
{
"type":"textRun",
"textRun":{
"text":"粗体",
"style":{
"bold":true
}
}
}
],
"style":{
"list":{
"type":"bullet",
"indentLevel":1
}
}
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"无序标题2验证,",
"style":{
}
}
},
{
"type":"textRun",
"textRun":{
"text":"删除线",
"style":{
"strikeThrough":true
}
}
}
],
"style":{
"list":{
"type":"bullet",
"indentLevel":1
}
}
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"无序标题3验证,",
"style":{
}
}
},
{
"type":"textRun",
"textRun":{
"text":"字体背景颜色验证",
"style":{
"backColor":{
"red":251,
"green":191,
"blue":188,
"alpha":1
},
"textColor":{
"red":216,
"green":57,
"blue":49,
"alpha":1
}
}
}
}
],
"style":{
"list":{
"type":"bullet",
"indentLevel":1
}
}
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"https://bytedance.feishu.cn/docx/doxcnO2Wkq0YPZQYLuJKyyOvLrh#doxcnSOui82swqk6c0o436Ak3nc",
"style":{
"link":{
"url":"https://bytedance.feishu.cn/docx/doxcnO2Wkq0YPZQYLuJKyyOvLrh#doxcnSOui82swqk6c0o436Ak3nc"
}
}
}
}
]
}
},
{
"type":"gallery",
"gallery":{
"imageList":[
{
"src":"https://internal-api-okr.feishu-boe.cn/stream/api/downloadFile/?file_token=boxbcofrHwpgexwxyvgasR2kgRh&ticket=eyJhbGciOiJIUzUxMiIsInR5cCI6IkpXVCJ9.eyJ0YXJnZXRfaWQiOiI3MDQxNDMwMzc3NjQyMDgyMzIzIiwidGFyZ2V0X3R5cGUiOjMsImFjdGlvbiI6MiwiZmlsZV90b2tlbiI6ImJveGJjb2ZySHdwZ2V4d3h5dmdhc1Iya2dSaCIsInVzZXJfaWQiOiI2OTY5ODU1NTAxNzQ0ODM0MDkyIiwidGVuYW50X2lkIjoiNjg3NzUwMjY4NzYwOTQwNjk5MCIsImV4cCI6MTY0MDE1NjEyMX0.PSs94Z6ljo4e7U5cFV8dYW-bNDUOWdKXRK8B-XKruGCtKWrhsFLNKbNygUkOgHzbiPg65aSAiCaWyhh5YeX0aw",
"fileToken":"boxbcofrHwpgexwxyvgasR2kgRh",
"width":458,
"height":372
}
]
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"任务列表未勾选验证",
"style":{
}
}
}
],
"style":{
"list":{
"type":"checkBox",
"indentLevel":1
}
}
}
},
{
"type":"paragraph",
"paragraph":{
"elements":[
{
"type":"textRun",
"textRun":{
"text":"任务列表已勾选验证",
"style":{
}
}
}
],
"style":{
"list":{
"type":"checkedBox",
"indentLevel":1
}
}
}
}
]
}
}'
{
"code": 0,
"data": {
"content": {
"blocks": [
{
"paragraph": {
"elements": [
{
"textRun": {
"style": {},
"text": " "
},
"type": "textRun"
},
{
"person": {
"openId": "ou_b1ba99a5340289d7af30839fd95ce1ee",
"userId": "7012194140645721644"
},
"type": "person"
}
]
},
"type": "paragraph"
}
]
},
"modify_time": "1640677213095",
"progress_id": "7046518160811425812"
},
"msg": "success"
}