Appearance
创建项目活动记录 API
| Path | Method | Created At |
|---|---|---|
| /api/projects/activities/{projectId}/create | POST | 2025-11-29 00:39:11 |
Request
| Key | Rule | Description |
|---|---|---|
| projectId | string,size:24 | 项目不存在 |
| title | string,max:255 | 活动标题不能为空,必须在255个字符以内 |
| project_stage | in:STARTED,PARTIALLY_DELIVERED,ALL_DELIVERED,IMPLEMENTED,INITIAL_ACCEPTANCE,FINAL_ACCEPTANCE | 项目阶段错误 |
| content | string,max:2000 | 活动内容不能为空,必须在2000个字符以内 |
| start_time | date_format:Y-m-d H:i:s | 开始时间格式错误 |
| end_time | date_format:Y-m-d H:i:s | 结束时间格式错误 |
| work_hours | numeric,min:0 | 工时必须为非负数值 |
| participants | array,min:1 | 至少有一个参与人 |
| attachments | array | 附件格式错误 |
Response
| Key | Type | Example | Comment |
|---|