Node.js based forum software built for the modern web
get:
tags:
- posts
summary: get post edit history
description: This operation retrieves a post's edit history
parameters:
- in: path
name: pid
schema:
type: string
required: true
description: a valid post id
example: 2
responses:
'200':
description: Post history successfully retrieved.
content:
application/json:
schema:
type: object
properties:
status:
$ref: ../../../components/schemas/Status.yaml#/Status
response:
type: object
properties:
uid:
type: number
pid:
oneOf:
- type: number
- type: string
timestamps:
type: array
items:
type: string
revisions:
type: array
items:
type: object
properties:
timestamp:
type: string
username:
type: string
uid:
oneOf:
- type: number
- type: string
editable:
type: boolean
deletable:
type: boolean