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

v1.18.x
Julian Lam 5 years ago
commit 32985eb12e

@ -9669,12 +9669,20 @@ paths:
tags: tags:
- tags - tags
summary: /api/tags/{tag} summary: /api/tags/{tag}
description: Returns a list of topics that are tagged with {tag}
parameters: parameters:
- name: tag - name: tag
description: The tag used to retrieve the topics
in: path in: path
required: true required: true
schema: schema:
type: string type: string
- name: page
description: Page number used in pagination
in: query
required: false
schema:
type: number
responses: responses:
"200": "200":
description: "" description: ""
@ -9685,6 +9693,7 @@ paths:
properties: properties:
topics: topics:
type: array type: array
description: An array of topics that are all tagged with {tag}
items: items:
type: object type: object
properties: properties:
@ -10039,13 +10048,12 @@ paths:
properties: properties:
html: html:
type: string type: string
"304":
description: ""
/api/tags: /api/tags:
get: get:
tags: tags:
- tags - tags
summary: /api/tags summary: /api/tags
description: Returns a list of tags with the most topics
responses: responses:
"200": "200":
description: "" description: ""
@ -10056,15 +10064,19 @@ paths:
properties: properties:
tags: tags:
type: array type: array
description: An array of tags with the most topics
items: items:
type: object type: object
properties: properties:
value: value:
type: string type: string
description: The raw tag
score: score:
type: number type: number
description: Number of topics tagged by this tag
valueEscaped: valueEscaped:
type: string type: string
description: This is the escaped tag value, equal to validator.escape(value)
color: color:
type: string type: string
bgColor: bgColor:

Loading…
Cancel
Save