|
|
@@ -22,7 +22,7 @@ post /projects
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
- "data": [{ "projectId": string, "description": string }]
|
|
|
+ "data": [{ "projectId": string, "name": string }]
|
|
|
}
|
|
|
```
|
|
|
|
|
|
@@ -121,7 +121,7 @@ get /mirrors/:homeworkId/:projectId
|
|
|
|
|
|
```json
|
|
|
{
|
|
|
- "data": [{{mirrorID:string, url:string, description: string},{...}]
|
|
|
+ "data": MirrorSerializer[]
|
|
|
}
|
|
|
```
|
|
|
|
|
|
@@ -150,29 +150,6 @@ post /deploy
|
|
|
}
|
|
|
```
|
|
|
|
|
|
-## 触发一次单元测试
|
|
|
-
|
|
|
-```http
|
|
|
-post /unit
|
|
|
-```
|
|
|
-
|
|
|
-### Parameters
|
|
|
-
|
|
|
-```json
|
|
|
-{
|
|
|
- "homeworkId": string,
|
|
|
- "projectId": string
|
|
|
-}
|
|
|
-```
|
|
|
-
|
|
|
-### Response
|
|
|
-
|
|
|
-```json
|
|
|
-{
|
|
|
- "data": { "success": boolean }
|
|
|
-}
|
|
|
-```
|
|
|
-
|
|
|
## 触发一次页面功能测试
|
|
|
|
|
|
```http
|