Skip to content

A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.

feat: admin's answer list filter by question id

kumfo1711ab575339
diff --git a/docs/docs.go b/docs/docs.go
index 4162d8a0..f21f508c 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -62,6 +62,12 @@ const docTemplate = `{
"description": "answer id or question title",
"name": "query",
"in": "query"
+ },
+ {
+ "type": "string",
+ "description": "question id",
+ "name": "question_id",
+ "in": "query"
}
],
"responses": {
diff --git a/docs/swagger.json b/docs/swagger.json
index e60de534..039f67f5 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -50,6 +50,12 @@
"description": "answer id or question title",
"name": "query",
"in": "query"
+ },
+ {
+ "type": "string",
+ "description": "question id",
+ "name": "question_id",
+ "in": "query"
}
],
"responses": {
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index 810cfef8..c419b60e 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -1394,6 +1394,10 @@ paths:
in: query
name: query
type: string
+ - description: question id
+ in: query
+ name: question_id
+ type: string
produces:
- application/json
responses: