Skip to content

Node.js based forum software built for the modern web

Merge remote-tracking branch 'refs/remotes/origin/master'

Julian Lam32985eb12e12
diff --cc public/openapi/read.yaml
index 6b60ed159b,8c37ab554f..eb798b08d7
--- a/public/openapi/read.yaml
+++ b/public/openapi/read.yaml
@@@ -9608,83 -10619,8 +9608,92 @@@ paths
type: string
bodyClass:
type: string
+ _header:
+ type: object
+ properties:
+ tags:
+ type: object
+ properties:
+ meta:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ content:
+ type: string
+ noEscape:
+ type: boolean
+ property:
+ type: string
+ link:
+ type: array
+ items:
+ type: object
+ properties:
+ rel:
+ type: string
+ type:
+ type: string
+ href:
+ type: string
+ title:
+ type: string
+ sizes:
+ type: string
+ widgets:
+ type: object
+ properties:
+ footer:
+ type: array
+ items:
+ type: object
+ properties:
+ html:
+ type: string
+ /api/ip-blacklist:
+ get:
+ tags:
+ - admin
+ summary: /api/ip-blacklist
+ responses: {}
+ /api/registration-queue:
+ get:
+ tags:
+ - admin
+ summary: /api/registration-queue
+ responses: {}
+ "/api/tags/{tag}":
+ get:
+ tags:
+ - tags
+ summary: /api/tags/{tag}
++ description: Returns a list of topics that are tagged with {tag}
+ parameters:
+ - name: tag
++ description: The tag used to retrieve the topics
+ in: path
+ required: true
+ schema:
+ type: string
++ - name: page
++ description: Page number used in pagination
++ in: query
++ required: false
++ schema:
++ type: number
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
topics:
type: array
++ description: An array of topics that are all tagged with {tag}
items:
type: object
properties:
@@@ -10039,104 -10906,7 +10048,107 @@@
properties:
html:
type: string
- "304":
- description: ""
- motd:
+ /api/tags:
+ get:
+ tags:
+ - tags
+ summary: /api/tags
++ description: Returns a list of tags with the most topics
+ responses:
+ "200":
+ description: ""
+ content:
+ application/json:
+ schema:
+ type: object
+ properties:
+ tags:
+ type: array
++ description: An array of tags with the most topics
+ items:
+ type: object
+ properties:
+ value:
+ type: string
++ description: The raw tag
+ score:
+ type: number
++ description: Number of topics tagged by this tag
+ valueEscaped:
+ type: string
++ description: This is the escaped tag value, equal to validator.escape(value)
+ color:
+ type: string
+ bgColor:
+ type: string
+ displayTagSearch:
+ type: boolean
+ nextStart:
+ type: number
+ breadcrumbs:
+ type: array
+ items:
+ type: object
+ properties:
+ text:
+ type: string
+ url:
+ type: string
+ title:
+ type: string
+ loggedIn:
+ type: boolean
+ relative_path:
+ type: string
+ template:
+ type: object
+ properties:
+ name:
+ type: string
+ tags:
+ type: boolean
+ url:
+ type: string
+ bodyClass:
+ type: string
+ _header:
+ type: object
+ properties:
+ tags:
+ type: object
+ properties:
+ meta:
+ type: array
+ items:
+ type: object
+ properties:
+ name:
+ type: string
+ content:
+ type: string
+ noEscape:
+ type: boolean
+ property:
+ type: string
+ link:
+ type: array
+ items:
+ type: object
+ properties:
+ rel:
+ type: string
+ type:
+ type: string
+ href:
+ type: string
+ title:
+ type: string
+ sizes:
+ type: string
+ widgets:
+ type: object
+ properties:
+ footer:
type: array
items:
type: object