From dbb6d06b03017739dd61af9810e6a183ef30fc89 Mon Sep 17 00:00:00 2001 From: Gilad Resisi Date: Fri, 28 Aug 2026 09:44:47 +0700 Subject: [PATCH] docs(public-api): document the error field on listed posts The Post schema for GET /posts gains an error property: the curated platform error message for posts in the ERROR state (same message as the calendar tooltip), null otherwise. Backend change ships with gitroomhq/postiz-app#1868. Co-Authored-By: Claude Fable 5 Claude-Session: https://claude.ai/code/session_01XvHgEEangtx46CmTGCrnL1 --- public-api/openapi.json | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/public-api/openapi.json b/public-api/openapi.json index 21629023..c9defffb 100644 --- a/public-api/openapi.json +++ b/public-api/openapi.json @@ -2363,6 +2363,12 @@ "DRAFT" ] }, + "error": { + "type": "string", + "nullable": true, + "description": "For posts in the ERROR state, the error message reported by the platform when it rejected the post (the same message shown in the calendar tooltip). `null` when the post did not fail or no platform message is available.", + "example": "Account banned from posting, please check TikTok account status" + }, "integration": { "type": "object", "properties": {