From 8ebe6de17e17581b39777706d00b866fb4f4dff6 Mon Sep 17 00:00:00 2001 From: Julian Lam Date: Tue, 7 Jan 2025 14:25:13 -0500 Subject: [PATCH] fix: add sourceContent prop to posts API --- public/openapi/write/posts/pid.yaml | 4 ++++ 1 file changed, 4 insertions(+) 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: