靳炳淑 7 lat temu
rodzic
commit
cae2f0afbc
1 zmienionych plików z 2 dodań i 25 usunięć
  1. 2 25
      codeHomework/api/index.md

+ 2 - 25
codeHomework/api/index.md

@@ -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