mirror of
https://github.com/NodeBB/NodeBB.git
synced 2026-05-29 19:52:22 +02:00
fix: add back schema changes for 179faa2270 and c3920ccb10
This commit is contained in:
@@ -193,6 +193,9 @@ get:
|
||||
description: An ISO 8601 formatted date string (complementing `timestamp`)
|
||||
pid:
|
||||
type: number
|
||||
index:
|
||||
type: number
|
||||
description: The index of the post
|
||||
topic:
|
||||
type: object
|
||||
properties:
|
||||
@@ -200,6 +203,32 @@ get:
|
||||
type: string
|
||||
title:
|
||||
type: string
|
||||
user:
|
||||
type: object
|
||||
properties:
|
||||
uid:
|
||||
type: number
|
||||
example: 1
|
||||
username:
|
||||
type: string
|
||||
example: Dragon Fruit
|
||||
userslug:
|
||||
type: string
|
||||
example: dragon-fruit
|
||||
picture:
|
||||
type: string
|
||||
example: 'https://images.unsplash.com/photo-1560070094-e1f2ddec4337?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&h=256&q=80'
|
||||
nullable: true
|
||||
displayname:
|
||||
type: string
|
||||
description: This is either username or fullname depending on forum and user settings
|
||||
example: Dragon Fruit
|
||||
'icon:text':
|
||||
type: string
|
||||
example: D
|
||||
'icon:bgColor':
|
||||
type: string
|
||||
example: '#9c27b0'
|
||||
imageClass:
|
||||
type: string
|
||||
- $ref: ../components/schemas/Pagination.yaml#/Pagination
|
||||
|
||||
@@ -195,6 +195,9 @@ get:
|
||||
description: An ISO 8601 formatted date string (complementing `timestamp`)
|
||||
pid:
|
||||
type: number
|
||||
index:
|
||||
type: number
|
||||
description: The index of the post
|
||||
topic:
|
||||
type: object
|
||||
properties:
|
||||
@@ -202,6 +205,32 @@ get:
|
||||
type: string
|
||||
title:
|
||||
type: string
|
||||
user:
|
||||
type: object
|
||||
properties:
|
||||
uid:
|
||||
type: number
|
||||
example: 1
|
||||
username:
|
||||
type: string
|
||||
example: Dragon Fruit
|
||||
userslug:
|
||||
type: string
|
||||
example: dragon-fruit
|
||||
picture:
|
||||
type: string
|
||||
example: 'https://images.unsplash.com/photo-1560070094-e1f2ddec4337?ixlib=rb-1.2.1&ixid=eyJhcHBfaWQiOjEyMDd9&auto=format&fit=crop&w=256&h=256&q=80'
|
||||
nullable: true
|
||||
displayname:
|
||||
type: string
|
||||
description: This is either username or fullname depending on forum and user settings
|
||||
example: Dragon Fruit
|
||||
'icon:text':
|
||||
type: string
|
||||
example: D
|
||||
'icon:bgColor':
|
||||
type: string
|
||||
example: '#9c27b0'
|
||||
imageClass:
|
||||
type: string
|
||||
- $ref: ../components/schemas/Pagination.yaml#/Pagination
|
||||
|
||||
Reference in New Issue
Block a user