应用类型 | 是否支持调用 | 权限申请方式 | API Explorer调试 |
---|---|---|---|
企业内部应用 | 是 | 钉钉教育班级圈数据读权限 | 调试 |
第三方企业应用 | 否 | — | — |
第三方个人应用 | 否 | — | — |
curl --location --request POST 'https://oapi.dingtalk.com/topapi/edu/circle/post/list?access_token=6d1bxxxx' \
--header 'Content-Type: application/json' \
--data-raw '{
"open_feed_query_param": {
"biz_type": 4,
"class_id": 26347,
"count": 10,
"cursor": 1620704981000,
"feed_type": 0,
"student_id": "stu123",
"topic_id": 19827347,
"user_role": "老师",
"userid": "tch123"
}
}'
{
"errcode": 0,
"errmsg": "ok",
"result": {
"has_more": false,
"posts": [
{
"author": {
"avatar_media_id": "#bjh423nvkbGHxxxx",
"icon_media_id": "#bjhk5432y4sfdoiuxxxx",
"is_owner": true,
"nick": "钉三多",
"owner": true,
"show_name": "钉三多",
"staff_id": "user456",
"tag": "661",
"title": "经理",
"type": "1",
"user_role": "子管理员"
},
"biz_id": "4",
"create_at": 1620704981000,
"feed_type": 0,
"post_id": 52340896,
"status": 0,
"tags": "",
"comments": [
{
"comment_id": 865785,
"content": "钉钉是一种工作方式",
"origin_user": {
"show_name": "小钉",
"staff_id": "user456"
}
}
],
"content": {
"content_type": 1,
"geo_content": "绿城未来park",
"text": "测试"
}
}
]
},
"success": true
}
【钉钉】API开发者 微信交流群
用微信扫右侧二维码,加入【钉钉】API开发者 交流群,互助沟通