文档
测试

通过项目id查询项目主体

GET
/project/project/getProject/{projectId}

接口描述

通过项目id查询项目主体

请求头

参数名
类型
描述
必填
Authorization
String
token
必填

响应数据示例

```json { "code": 200, "msg": "操作成功", "data": { "projectId": "1745697508804239362", "projectDesc": "", "projectName": "test", "projectStatus": "0", "personal": "1", "userNum": "1", "dialogId": null, "archivedAt": null, "archivedBy": null, "sort": "1", "createUserId": "1", "createDeptId": "1", "createOrgId": "1", "createTime": "2024-01-12 14:41:34", "updateUserId": null, "updateTime": null, "projectColumns": [ { "id": "1745697508992983042", "projectId": "1745697508804239362", "name": "1", "color": "#F2F3F5", "sort": "1", "createUserId": "1", "createTime": "2024-01-12 14:41:34", "createDeptId": "1", "createOrgId": "1", "updateUserId": null, "updateTime": null, "tasks": null }, { "id": "1745697509055897601", "projectId": "1745697508804239362", "name": "2", "color": "#F2F3F5", "sort": "2", "createUserId": "1", "createTime": "2024-01-12 14:41:34", "createDeptId": "1", "createOrgId": "1", "updateUserId": null, "updateTime": null, "tasks": null }, { "id": "1745697509055897602", "projectId": "1745697508804239362", "name": "3", "color": "#F2F3F5", "sort": "3", "createUserId": "1", "createTime": "2024-01-12 14:41:34", "createDeptId": "1", "createOrgId": "1", "updateUserId": null, "updateTime": null, "tasks": [ { "taskId": "1745697674936426497", "projectId": "1745697508804239362", "parentId": "0", "children": null, "columnId": "1745697509055897602", "dialogId": null, "flowItemId": null, "flowItemName": "", "taskName": "test", "taskColor": "#2B2B2B", "taskStartAt": null, "taskEndAt": null, "taskCompleteAt": null, "archivedAt": null, "archivedBy": null, "archivedFollow": null, "iteration": "1", "visibility": null, "taskLevel": "1", "taskLevelName": "1", "taskLevelColor": "#2B2B2B", "taskDesc": null, "taskContent": null, "loop": null, "loopAt": null, "sort": null, "deletedUserId": null, "createUserId": "1", "createTime": "2024-01-12 14:42:14", "createOrgId": "1", "createDeptId": "1", "updateBy": null, "updateTime": null }, { "taskId": "1746779877007044610", "projectId": "1745697508804239362", "parentId": "0", "children": [ { "taskId": "1746779937883172866", "projectId": "1745697508804239362", "parentId": "1746779877007044610", "children": null, "columnId": "1745697509055897602", "dialogId": null, "flowItemId": null, "flowItemName": "", "taskName": "test", "taskColor": "#2B2B2B", "taskStartAt": null, "taskEndAt": null, "taskCompleteAt": null, "archivedAt": null, "archivedBy": null, "archivedFollow": null, "iteration": "1", "visibility": null, "taskLevel": "1", "taskLevelName": "1", "taskLevelColor": "#2B2B2B", "taskDesc": null, "taskContent": null, "loop": null, "loopAt": null, "sort": null, "deletedUserId": null, "createUserId": "1", "createTime": "2024-01-15 14:22:45", "createOrgId": "1", "createDeptId": "1", "updateBy": null, "updateTime": null }, { "taskId": "1746780006170636289", "projectId": "1745697508804239362", "parentId": "1746779877007044610", "children": null, "columnId": "1745697509055897602", "dialogId": null, "flowItemId": null, "flowItemName": "", "taskName": "tes2t", "taskColor": "#2B2B2B", "taskStartAt": null, "taskEndAt": null, "taskCompleteAt": null, "archivedAt": null, "archivedBy": null, "archivedFollow": null, "iteration": "1", "visibility": null, "taskLevel": "1", "taskLevelName": "1", "taskLevelColor": "#2B2B2B", "taskDesc": null, "taskContent": null, "loop": null, "loopAt": null, "sort": null, "deletedUserId": null, "createUserId": "1", "createTime": "2024-01-15 14:23:02", "createOrgId": "1", "createDeptId": "1", "updateBy": null, "updateTime": null } ], "columnId": "1745697509055897602", "dialogId": null, "flowItemId": null, "flowItemName": "", "taskName": "test", "taskColor": "#2B2B2B", "taskStartAt": null, "taskEndAt": null, "taskCompleteAt": null, "archivedAt": null, "archivedBy": null, "archivedFollow": null, "iteration": "1", "visibility": null, "taskLevel": "1", "taskLevelName": "1", "taskLevelColor": "#2B2B2B", "taskDesc": null, "taskContent": null, "loop": null, "loopAt": null, "sort": null, "deletedUserId": null, "createUserId": "1", "createTime": "2024-01-15 14:22:31", "createOrgId": "1", "createDeptId": "1", "updateBy": null, "updateTime": null } ] } ], "userIds": [ "1" ], "owner": "0", "ownerUserIds": [ "1" ], "topAt": null, "userTaskNum": 4, "userTaskCompletedNum": 0, "allTaskCompletedNum": 0, "allTaskNum": 4 }, "traceId": "A60009" } ```