日志接口¶
-
class
dingtalk.client.api.
Report
(client=None)[源代码]¶ -
comment_list
(report_id, offset=0, size=20)[源代码]¶ 获取日志评论详情
参数: - report_id – 日志id
- offset – 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值,默认值为0
- size – 分页参数,每页大小,最多传20,默认值为20
-
list
(start_time, end_time, cursor=0, size=20, template_name='', userid='')[源代码]¶ 查询企业员工发出的日志列表
参数: - start_time – 查询起始时间
- end_time – 查询截止时间
- cursor – 查询游标,初始传入0,后续从上一次的返回值中获取
- size – 每页数据量
- template_name – 要查询的模板名称
- userid – 员工的userid
-
receiver_list
(report_id, offset=0, size=100)[源代码]¶ 获取日志分享人员列表
参数: - report_id – 日志id
- offset – 分页查询的游标,最开始传0,后续传返回参数中的next_cursor值,默认值为0
- size – 分页参数,每页大小,最多传100,默认值为100
-