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.

swagger

aichy12684206b85a171
diff --git a/docs/docs.go b/docs/docs.go
index edd782a7..94b36adf 100644
--- a/docs/docs.go
+++ b/docs/docs.go
@@ -4677,6 +4677,46 @@ const docTemplate = `{
}
}
},
+ "/answer/api/v1/user/ranking": {
+ "get": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "description": "get user ranking",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "User"
+ ],
+ "summary": "get user ranking",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/handler.RespBody"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/schema.GetUserToSetShowResp"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
"/answer/api/v1/user/register/email": {
"post": {
"description": "UserRegisterByEmail",
@@ -6904,6 +6944,9 @@ const docTemplate = `{
"branding": {
"$ref": "#/definitions/schema.SiteBrandingResp"
},
+ "custom_css_html": {
+ "$ref": "#/definitions/schema.SiteCustomCssHTMLResp"
+ },
"general": {
"$ref": "#/definitions/schema.SiteGeneralResp"
},
diff --git a/docs/swagger.json b/docs/swagger.json
index fa899855..c27c7750 100644
--- a/docs/swagger.json
+++ b/docs/swagger.json
@@ -4665,6 +4665,46 @@
}
}
},
+ "/answer/api/v1/user/ranking": {
+ "get": {
+ "security": [
+ {
+ "ApiKeyAuth": []
+ }
+ ],
+ "description": "get user ranking",
+ "consumes": [
+ "application/json"
+ ],
+ "produces": [
+ "application/json"
+ ],
+ "tags": [
+ "User"
+ ],
+ "summary": "get user ranking",
+ "responses": {
+ "200": {
+ "description": "OK",
+ "schema": {
+ "allOf": [
+ {
+ "$ref": "#/definitions/handler.RespBody"
+ },
+ {
+ "type": "object",
+ "properties": {
+ "data": {
+ "$ref": "#/definitions/schema.GetUserToSetShowResp"
+ }
+ }
+ }
+ ]
+ }
+ }
+ }
+ }
+ },
"/answer/api/v1/user/register/email": {
"post": {
"description": "UserRegisterByEmail",
@@ -6892,6 +6932,9 @@
"branding": {
"$ref": "#/definitions/schema.SiteBrandingResp"
},
+ "custom_css_html": {
+ "$ref": "#/definitions/schema.SiteCustomCssHTMLResp"
+ },
"general": {
"$ref": "#/definitions/schema.SiteGeneralResp"
},
diff --git a/docs/swagger.yaml b/docs/swagger.yaml
index e2802ad4..a295d656 100644
--- a/docs/swagger.yaml
+++ b/docs/swagger.yaml
@@ -1294,6 +1294,8 @@ definitions:
properties:
branding:
$ref: '#/definitions/schema.SiteBrandingResp'
+ custom_css_html:
+ $ref: '#/definitions/schema.SiteCustomCssHTMLResp'
general:
$ref: '#/definitions/schema.SiteGeneralResp'
interface:
@@ -4670,6 +4672,28 @@ paths:
summary: RetrievePassWord
tags:
- User
+ /answer/api/v1/user/ranking:
+ get:
+ consumes:
+ - application/json
+ description: get user ranking
+ produces:
+ - application/json
+ responses:
+ "200":
+ description: OK
+ schema:
+ allOf:
+ - $ref: '#/definitions/handler.RespBody'
+ - properties:
+ data:
+ $ref: '#/definitions/schema.GetUserToSetShowResp'
+ type: object
+ security:
+ - ApiKeyAuth: []
+ summary: get user ranking
+ tags:
+ - User
/answer/api/v1/user/register/email:
post:
consumes: