Files
NodeBB/public/openapi/write/posts/pid/diffs/timestamp.yaml
Konrad Moskal 2e00c0ff42 Modify delete post diff response format (#13761)
* Modify delete post diff response format

Updated the delete operation response to return JSON content.

* fix: timestamp open api schema
2025-12-06 20:12:27 -05:00

28 lines
662 B
YAML

delete:
tags:
- posts
summary: delete a post diff
description: This operation deletes a post diff from its history.
parameters:
- in: path
name: pid
schema:
type: string
required: true
description: a valid post id
example: 2
- in: path
name: timestamp
schema:
type: number
required: true
description: a valid UNIX timestamp
example: 1611850000000
responses:
"200":
description: Post diff successfully deleted
content:
application/json:
schema:
$ref: ../diffs.yaml#/get/responses/200/content