GET /server/analysis/api/orgs/<org_sid>/teams/<team_name>/repos/<repo_id>/projects/<project_id>/codelint/issues/
{
"data": {
"count": 1,
"next": null,
"previous": null,
"results": [
{
"id": 1,
"file_path": "test/demo.py",
"project": 1,
"repo": 1,
"checkrule_real_name": "xxx",
"checkrule_display_name": "xxx",
"checktool_name": "xxx",
"msg": "xxx",
"state": 3,
"resolution": 1,
"author": "author",
"author_email": null,
"severity": 2,
"revision": "revision",
"ci_time": "2021-02-02T13:31:38+08:00",
"file_owners": null,
"is_external": false,
"scm_url": "",
"real_file_path": "",
"scan_open": 1,
"scan_fix": 2,
"fixed_time": "2021-02-19T15:25:15.152350+08:00"
}
]
},
"code": 0,
"msg": "请求成功",
"status_code": 200
}
GET /server/analysis/api/orgs/<org_sid>/teams/<team_name>/repos/<repo_id>/projects/<project_id>/codelint/issues/<issue_id>/
{
"data": {
"id": 1,
"issue_details": [
{
"id": 1,
"issue_refers": [],
"creator": null,
"modifier": null,
"deleted_time": null,
"deleter": null,
"issuedetail_uuid": "0fcc376e-7283-11eb-bd53-5254005e71ca",
"checkrule_real_name": "xxx",
"checktool_name": "xxx",
"author": "author",
"author_email": null,
"line": 1809,
"column": 15,
"scan_revision": "scan_revision",
"revision": "revision",
"ci_time": "2021-02-02T13:31:38+08:00",
"real_revision": "",
"created_time": "2021-02-19T15:21:19.625658+08:00",
"modified_time": "2021-02-19T15:21:19.625662+08:00",
"issue": null,
"project": 1
}
],
"is_external": false,
"repo": 1,
"author": "author",
"created_time": "2021-02-19T15:21:19.625685+08:00",
"creator": null,
"modifier": null,
"deleted_time": null,
"deleter": null,
"file_path": "test/demo.py",
"file_hash": "xxx",
"scm_url": "",
"real_file_path": "",
"checkrule_gid": 1,
"checkrule_real_name": "xxx",
"checkrule_display_name": "xxx",
"checkrule_rule_title": "xxx",
"checktool_name": "xxx",
"category": 7,
"state": 3,
"resolution": 1,
"scan_revision": null,
"severity": 2,
"language": "python",
"revision": "revision",
"ci_time": "2021-02-02T13:31:38+08:00",
"file_owners": null,
"fixed_time": "2021-02-19T15:25:15.152350+08:00",
"tapd_ws_id": null,
"tapd_bug_id": null,
"modified_time": "2021-02-19T15:25:17.807478+08:00",
"project": 1,
"scan_open": 1,
"scan_fix": 2
},
"code": 0,
"msg": "xxx",
"status_code": 200
}