Skip to content

Node.js based forum software built for the modern web

fix: add sourceContent prop to posts API

Julian Lam8ebe6de17e17
diff --git a/public/openapi/write/posts/pid.yaml b/public/openapi/write/posts/pid.yaml
index 45dba85c74..25bf46f037 100644
--- a/public/openapi/write/posts/pid.yaml
+++ b/public/openapi/write/posts/pid.yaml
@@ -34,6 +34,10 @@ get:
description: A topic identifier
content:
type: string
+ sourceContent:
+ type: string
+ description: If the pid is a remote post ID, and markdown was received, it will be saved in this property, and `content` will be emptied.
+ nullable: true
timestamp:
type: number
flagId: