mirror of
https://github.com/NodeBB/NodeBB.git
synced 2025-12-16 21:40:23 +01:00
fix: use reference object for post summary v3 api call
This commit is contained in:
@@ -31,40 +31,4 @@ get:
|
|||||||
status:
|
status:
|
||||||
$ref: ../../../components/schemas/Status.yaml#/Status
|
$ref: ../../../components/schemas/Status.yaml#/Status
|
||||||
response:
|
response:
|
||||||
type: object
|
$ref: ../../../components/schemas/PostObject.yaml#/PostObject
|
||||||
properties:
|
|
||||||
pid:
|
|
||||||
type: number
|
|
||||||
tid:
|
|
||||||
type: number
|
|
||||||
description: A topic identifier
|
|
||||||
content:
|
|
||||||
type: string
|
|
||||||
uid:
|
|
||||||
type: number
|
|
||||||
description: A user identifier
|
|
||||||
timestamp:
|
|
||||||
type: number
|
|
||||||
deleted:
|
|
||||||
type: number
|
|
||||||
upvotes:
|
|
||||||
type: number
|
|
||||||
downvotes:
|
|
||||||
type: number
|
|
||||||
replies:
|
|
||||||
type: number
|
|
||||||
votes:
|
|
||||||
type: number
|
|
||||||
timestampISO:
|
|
||||||
type: string
|
|
||||||
user:
|
|
||||||
type: object
|
|
||||||
additionalProperties: {}
|
|
||||||
topic:
|
|
||||||
type: object
|
|
||||||
additionalProperties: {}
|
|
||||||
category:
|
|
||||||
type: object
|
|
||||||
additionalProperties: {}
|
|
||||||
isMainPost:
|
|
||||||
type: boolean
|
|
||||||
|
|||||||
Reference in New Issue
Block a user