add addAction method

This commit is contained in:
2025-05-17 02:32:42 +07:00
parent 6177a05eac
commit 282e1b3aea
6 changed files with 660 additions and 50 deletions
+66
View File
@@ -11,6 +11,28 @@
"application/json"
],
"paths": {
"/actions": {
"post": {
"operationId": "EveningDetective_AddAction",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/evening_detectiveAddActionRsp"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/runtimeError"
}
}
},
"tags": [
"EveningDetective"
]
}
},
"/ping": {
"get": {
"operationId": "EveningDetective_Ping",
@@ -54,6 +76,26 @@
"EveningDetective"
]
},
"delete": {
"operationId": "EveningDetective_DeleteTeams",
"responses": {
"200": {
"description": "A successful response.",
"schema": {
"$ref": "#/definitions/evening_detectiveDeleteTeamsRsp"
}
},
"default": {
"description": "An unexpected error response.",
"schema": {
"$ref": "#/definitions/runtimeError"
}
}
},
"tags": [
"EveningDetective"
]
},
"post": {
"operationId": "EveningDetective_AddTeams",
"responses": {
@@ -87,6 +129,27 @@
}
},
"definitions": {
"evening_detectiveAddActionRsp": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "int64"
},
"to": {
"type": "string"
},
"text": {
"type": "string"
},
"applications": {
"type": "array",
"items": {
"$ref": "#/definitions/evening_detectiveApplication"
}
}
}
},
"evening_detectiveAddTeamsReq": {
"type": "object",
"properties": {
@@ -117,6 +180,9 @@
}
}
},
"evening_detectiveDeleteTeamsRsp": {
"type": "object"
},
"evening_detectiveGetTeamsRsp": {
"type": "object",
"properties": {