报告收藏列表接口
更新时间: 2024-03-13 02:26:17
阅读 78
获取用户的报告收藏列表
基本信息:
属性 | 值 |
---|---|
API | /api/dash/interest/ext/interestItems |
Method | GET |
请求参数:
字段名称 | 参数类型 | 参数说明 |
---|---|---|
token | String | token |
isMobile | Boolean | 是否是移动端(移动端会过滤空文件夹) |
userId | Number | 用户id |
projectId | Number | 项目id |
sort | String (Optional) | 收藏列表的排序方法 |
样例输入
{
"token": "1503575355359c4fdea8ec1683ed10edd91ae",
"isMobile": true,
"userId": 12333,
"projectId": 1,
}
返回:
{
"code":200,
"result":{
"folders":[
{
"id":7571,
"type":2,
"category":2,
"name":"1234",
"idx":0,
"projectId":1,
"parentId":-4,
"userId":null,
"creatorId":12375,
"permissions":[
"view",
"edit",
"add"
],
"folders":[
{
"id":7572,
"type":2,
"category":2,
"name":"234",
"idx":0,
"projectId":1,
"parentId":7571,
"userId":null,
"creatorId":12375,
"permissions":[
"view",
"edit",
"add"
],
"folders":[
],
"isFolder":1,
"items":[
],
"totalView":0
}
],
"isFolder":1,
"items":[
],
"totalView":0
}
],
"items":[
{
"id":9541,
"title":"jlg权限报告2",
"category":0,
"idx":1,
"userId":12224,
"folderId":-4,
"totalView":107,
"insightReportId":null,
"modifyTime":"2021-09-16T07:51:33.000Z",
"createTime":"2021-09-14T02:34:27.000Z",
"creatorId":12224,
"modifierId":12224,
"mirrorReportId":null,
"isMajor":null,
"interestId":1430,
"permissions":[
"view",
"edit",
"copy",
"export",
"share",
"mail",
"warning",
"add"
]
}
],
"globalPermissions":[
"view",
"edit",
"add"
]
},
}
文档反馈
以上内容对您是否有帮助?