# Save post text and channel drafts in one transaction

Requires editor access and publication:manage. Saves each listed draft against the resulting source revision without promoting content. Omitted targetContent preserves the current draft content. Revision conflicts return error.conflictingPublicationIds (all listed IDs for a source conflict). Delivery mode is stored on the publication and selected immutable target, not the draft; a different mode requires the destination move workflow. scheduledAt is applied publication state: a changed non-null time only reschedules an already scheduled publication, using existing future-time, running-job and cadence guards, and requires publication:dispatch. Scheduling a draft requires promotion; removing a schedule requires the existing lifecycle workflow. Omitted settings remain unchanged. Pending approval requests are superseded exactly as for individual draft saves.

URL: /docs/reference/posts/savePostComposition

```json
{"openapi":"3.0.3","info":{"title":"Postdot API","description":"The HTTP API for the lightweight, self-hosted Postdot publication orchestrator.","version":"0.1.0"},"components":{"securitySchemes":{"bearerAuth":{"type":"http","scheme":"bearer","bearerFormat":"Postdot API key","description":"A user-owned Postdot API key sent as `Authorization: Bearer <token>`. Its project scope is limited by the creator’s current access."},"sessionCookie":{"type":"apiKey","in":"cookie","name":"better-auth.session_token","description":"The Better Auth email/password session cookie used by the web application."}},"schemas":{}},"security":[{"bearerAuth":[]},{"sessionCookie":[]}],"tags":[{"name":"System","description":"Service health and runtime information."},{"name":"Access","description":"Instance membership and invitations."},{"name":"Projects","description":"Project lifecycle and access."},{"name":"Channels","description":"Project publication destinations."},{"name":"Posts","description":"Source posts and publication creation."},{"name":"Publications","description":"Publication workflow operations."},{"name":"Taxonomy","description":"Project categories and publication tags."},{"name":"Media","description":"Project media assets and uploads."},{"name":"Settings","description":"Instance-level runtime configuration."},{"name":"Audit","description":"Project audit history."},{"name":"Notifications","description":"Signed-in user notification inboxes with optional project context."},{"name":"Analytics","description":"Provider-neutral publication and execution analytics."},{"name":"Provider Analytics","description":"Persisted provider-owned metric observations."},{"name":"Webhooks","description":"Project webhook subscriptions and delivery history."}],"paths":{"/api/projects/{projectId}/posts/{postId}/composition":{"put":{"operationId":"savePostComposition","summary":"Save post text and channel drafts in one transaction","tags":["Posts"],"description":"Requires editor access and publication:manage. Saves each listed draft against the resulting source revision without promoting content. Omitted targetContent preserves the current draft content. Revision conflicts return error.conflictingPublicationIds (all listed IDs for a source conflict). Delivery mode is stored on the publication and selected immutable target, not the draft; a different mode requires the destination move workflow. scheduledAt is applied publication state: a changed non-null time only reschedules an already scheduled publication, using existing future-time, running-job and cadence guards, and requires publication:dispatch. Scheduling a draft requires promotion; removing a schedule requires the existing lifecycle workflow. Omitted settings remain unchanged. Pending approval requests are superseded exactly as for individual draft saves.","parameters":[{"name":"projectId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"postId","in":"path","required":true,"schema":{"type":"string","minLength":1}},{"name":"postdot-structured-text","in":"header","required":false,"schema":{"type":"string","examples":["require"],"description":"Send require to refuse a write with structure warnings with 422 structured_text_required, before anything is saved."}},{"name":"postdot-structured-text-acknowledgement","in":"header","required":false,"schema":{"type":"string","description":"Keeps text the person wants as one post. Retry the refused request unchanged with both headers and error.structureAcknowledgement from the 422 response. A different body, path, caller or warning set is refused again."}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["expectedSourceRevision","publications"],"properties":{"includeSiblingEditors":{"type":"boolean"},"expectedUserId":{"type":"string","minLength":1},"expectedSourceRevision":{"type":"integer","minimum":1},"sourceContent":{"type":"object","required":["media"],"properties":{"body":{"type":"object","required":["text","format"],"properties":{"text":{"type":"string","minLength":1,"maxLength":1000000},"format":{"type":"string","enum":["plain_text","markdown"]}},"additionalProperties":false},"headline":{"type":"string","minLength":1,"maxLength":10000},"language":{"type":"string","minLength":2,"maxLength":35},"media":{"type":"array","items":{"type":"object","required":["assetId"],"properties":{"assetId":{"type":"string","minLength":1,"maxLength":255},"accessibilityText":{"type":"string","minLength":1,"maxLength":10000}},"additionalProperties":false},"maxItems":256}},"additionalProperties":false},"publications":{"type":"array","items":{"type":"object","required":["publicationId","expectedRevision"],"properties":{"publicationId":{"type":"string","minLength":1},"expectedRevision":{"type":"integer","minimum":1},"targetContent":{"type":"object","patternProperties":{"^.*$":{}}},"deliveryMode":{"type":"string","enum":["manual","automatic"]},"scheduledAt":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}}},"maxItems":100}}}},"application/x-www-form-urlencoded":{"schema":{"type":"object","required":["expectedSourceRevision","publications"],"properties":{"includeSiblingEditors":{"type":"boolean"},"expectedUserId":{"type":"string","minLength":1},"expectedSourceRevision":{"type":"integer","minimum":1},"sourceContent":{"type":"object","required":["media"],"properties":{"body":{"type":"object","required":["text","format"],"properties":{"text":{"type":"string","minLength":1,"maxLength":1000000},"format":{"type":"string","enum":["plain_text","markdown"]}},"additionalProperties":false},"headline":{"type":"string","minLength":1,"maxLength":10000},"language":{"type":"string","minLength":2,"maxLength":35},"media":{"type":"array","items":{"type":"object","required":["assetId"],"properties":{"assetId":{"type":"string","minLength":1,"maxLength":255},"accessibilityText":{"type":"string","minLength":1,"maxLength":10000}},"additionalProperties":false},"maxItems":256}},"additionalProperties":false},"publications":{"type":"array","items":{"type":"object","required":["publicationId","expectedRevision"],"properties":{"publicationId":{"type":"string","minLength":1},"expectedRevision":{"type":"integer","minimum":1},"targetContent":{"type":"object","patternProperties":{"^.*$":{}}},"deliveryMode":{"type":"string","enum":["manual","automatic"]},"scheduledAt":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}}},"maxItems":100}}}},"multipart/form-data":{"schema":{"type":"object","required":["expectedSourceRevision","publications"],"properties":{"includeSiblingEditors":{"type":"boolean"},"expectedUserId":{"type":"string","minLength":1},"expectedSourceRevision":{"type":"integer","minimum":1},"sourceContent":{"type":"object","required":["media"],"properties":{"body":{"type":"object","required":["text","format"],"properties":{"text":{"type":"string","minLength":1,"maxLength":1000000},"format":{"type":"string","enum":["plain_text","markdown"]}},"additionalProperties":false},"headline":{"type":"string","minLength":1,"maxLength":10000},"language":{"type":"string","minLength":2,"maxLength":35},"media":{"type":"array","items":{"type":"object","required":["assetId"],"properties":{"assetId":{"type":"string","minLength":1,"maxLength":255},"accessibilityText":{"type":"string","minLength":1,"maxLength":10000}},"additionalProperties":false},"maxItems":256}},"additionalProperties":false},"publications":{"type":"array","items":{"type":"object","required":["publicationId","expectedRevision"],"properties":{"publicationId":{"type":"string","minLength":1},"expectedRevision":{"type":"integer","minimum":1},"targetContent":{"type":"object","patternProperties":{"^.*$":{}}},"deliveryMode":{"type":"string","enum":["manual","automatic"]},"scheduledAt":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}}},"maxItems":100}}}}}},"responses":{"200":{"description":"Response for status 200","content":{"application/json":{"schema":{"type":"object","required":["post","publications"],"properties":{"post":{"type":"object","required":["id","projectId","title","sourceContent","sourceRevision","createdByActorId","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"projectId":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"sourceContent":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"array","items":{}},{"type":"object","patternProperties":{"^(.*)$":{}}}]},"sourceRevision":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdByActorId":{"type":"string"},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}}},"publications":{"type":"array","items":{"type":"object","required":["publication","post","channel","profile","draft","selectedTarget"],"properties":{"publication":{"allOf":[{"type":"object","required":["id","projectId","postId","channelId","targetRevisionId","deliveryMode","reviewState","state","scheduledAt","publishedAt","externalId","externalUrl","errorMessage","createdByActorId","scheduledByActorId","stateChangedByActorId","publishedByActorId","lastAssessedProfileVersionId","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"projectId":{"type":"string"},"postId":{"type":"string"},"channelId":{"type":"string"},"targetRevisionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"deliveryMode":{"enum":["manual","automatic"]},"reviewState":{"enum":["compatible","review_required"]},"state":{"enum":["draft","scheduled","ready","publishing","published","failed","ambiguous","cancelled"]},"scheduledAt":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"publishedAt":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"externalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdByActorId":{"type":"string"},"scheduledByActorId":{"anyOf":[{"type":"string"},{"type":"null"}]},"stateChangedByActorId":{"type":"string"},"publishedByActorId":{"anyOf":[{"type":"string"},{"type":"null"}]},"lastAssessedProfileVersionId":{"anyOf":[{"type":"string"},{"type":"null"}]},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}}},{"type":"object","required":["profileAssessmentIssues"],"properties":{"profileAssessmentIssues":{"type":"array","items":{"type":"object","patternProperties":{"^.*$":{}}}},"remoteRemoval":{"anyOf":[{"type":"object","required":["state","removedAt","removedBy","errorMessage","requiresReconnect","requestedAt"],"properties":{"state":{"enum":["running","removed","failed","ambiguous"]},"removedAt":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]},"removedBy":{"anyOf":[{"type":"object","required":["id","displayName"],"properties":{"id":{"type":"string","minLength":1},"displayName":{"type":"string"}}},{"type":"null"}]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorCode":{"anyOf":[{"type":"string"},{"type":"null"}]},"requiresReconnect":{"type":"boolean"},"requestedAt":{"anyOf":[{"type":"integer","minimum":0},{"type":"null"}]}}},{"type":"null"}]}}}]},"post":{"type":"object","required":["id","projectId","title","sourceContent","sourceRevision","createdByActorId","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"projectId":{"type":"string"},"title":{"anyOf":[{"type":"string"},{"type":"null"}]},"sourceContent":{"anyOf":[{"anyOf":[{"type":"string"},{"type":"number"},{"type":"boolean"},{"type":"null"}]},{"type":"array","items":{}},{"type":"object","patternProperties":{"^(.*)$":{}}}]},"sourceRevision":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdByActorId":{"type":"string"},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}}},"channel":{"allOf":[{"type":"object","required":["id","name","profileVersionId","state","archivedAt","revision","createdAt","updatedAt"],"properties":{"id":{"type":"string"},"name":{"type":"string"},"profileVersionId":{"type":"string"},"state":{"enum":["active","archived"]},"archivedAt":{"anyOf":[{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},{"type":"null"}]},"websiteUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"imageSource":{"anyOf":[{"type":"string","const":"upload"},{"type":"string","const":"url"},{"type":"string","const":"favicon"},{"type":"null"}]},"executionMode":{"enum":["automatic","manual"]},"revision":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"createdAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"updatedAt":{"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991}}},{"type":"object","required":["projectId","profileId"],"properties":{"projectId":{"type":"string","minLength":1},"profileId":{"type":"string","minLength":1}}}]},"profile":{"type":"object","required":["id","projectId","channelId","profileId","version","origin","state","revision","profile","createdByActorId","createdAt","updatedAt"],"properties":{"id":{"type":"string","minLength":1},"projectId":{"type":"string","minLength":1},"channelId":{"type":"string","minLength":1},"profileId":{"type":"string","minLength":1},"version":{"type":"integer","minimum":1},"origin":{"type":"string","enum":["built_in","custom"]},"state":{"type":"string","enum":["draft","active","superseded","disabled"]},"revision":{"type":"integer","minimum":1},"profile":{"type":"object","patternProperties":{"^.*$":{}}},"createdByActorId":{"type":"string","minLength":1},"createdAt":{"type":"integer","minimum":0},"updatedAt":{"type":"integer","minimum":0}}},"draft":{"type":"object","required":["id","projectId","publicationId","profileVersionId","sourceRevision","baseSourceContent","content","reviewState","validationIssues","lastAssessedProfileVersionId","revision","updatedByActorId","createdAt","updatedAt"],"properties":{"id":{"type":"string","minLength":1},"projectId":{"type":"string","minLength":1},"publicationId":{"type":"string","minLength":1},"profileVersionId":{"type":"string","minLength":1},"sourceRevision":{"type":"integer","minimum":1},"baseSourceContent":{"type":"object","required":["media"],"properties":{"body":{"type":"object","required":["text","format"],"properties":{"text":{"type":"string","minLength":1,"maxLength":1000000},"format":{"type":"string","enum":["plain_text","markdown"]}},"additionalProperties":false},"headline":{"type":"string","minLength":1,"maxLength":10000},"language":{"type":"string","minLength":2,"maxLength":35},"media":{"type":"array","items":{"type":"object","required":["assetId"],"properties":{"assetId":{"type":"string","minLength":1,"maxLength":255},"accessibilityText":{"type":"string","minLength":1,"maxLength":10000}},"additionalProperties":false},"maxItems":256}},"additionalProperties":false},"content":{"type":"object","patternProperties":{"^.*$":{}}},"reviewState":{"type":"string","enum":["compatible","review_required"]},"validationIssues":{"type":"array","items":{"type":"object","patternProperties":{"^.*$":{}}}},"lastAssessedProfileVersionId":{"anyOf":[{"type":"string","minLength":1},{"type":"null"}]},"revision":{"type":"integer","minimum":1},"updatedByActorId":{"type":"string","minLength":1},"createdAt":{"type":"integer","minimum":0},"updatedAt":{"type":"integer","minimum":0}}},"remoteEditContent":{"type":"object","properties":{"text":{"type":"string","maxLength":1000000},"title":{"type":"string","maxLength":10000},"tags":{"type":"array","items":{"type":"string","maxLength":30},"maxItems":4},"coverUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"canonicalUrl":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]},"series":{"anyOf":[{"type":"string","maxLength":2048},{"type":"null"}]}},"additionalProperties":false},"quoteUnavailable":{"type":"string","enum":["server_unsupported","plan_unavailable"]},"threadMessages":{"type":"array","items":{"type":"object","required":["executionRevisionId","position","state","externalId","externalUrl","externalCid","errorMessage"],"properties":{"executionRevisionId":{"type":"string"},"position":{"type":"integer","minimum":0},"state":{"type":"string","enum":["pending","sending","confirmed","failed","ambiguous"]},"externalId":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalUrl":{"anyOf":[{"type":"string"},{"type":"null"}]},"externalCid":{"anyOf":[{"type":"string"},{"type":"null"}]},"errorMessage":{"anyOf":[{"type":"string"},{"type":"null"}]}}}},"movement":{"type":"object","required":["canMove","fromPublicationId","toPublicationId","requestedScheduledAt"],"properties":{"canMove":{"type":"boolean"},"fromPublicationId":{"anyOf":[{"type":"string"},{"type":"null"}]},"toPublicationId":{"anyOf":[{"type":"string"},{"type":"null"}]},"requestedScheduledAt":{"anyOf":[{"type":"integer"},{"type":"null"}]}}},"adoptionCount":{"type":"integer","minimum":0},"selectedTargetProfile":{"anyOf":[{"type":"object","required":["id","projectId","channelId","profileId","version","origin","state","revision","profile","createdByActorId","createdAt","updatedAt"],"properties":{"id":{"type":"string","minLength":1},"projectId":{"type":"string","minLength":1},"channelId":{"type":"string","minLength":1},"profileId":{"type":"string","minLength":1},"version":{"type":"integer","minimum":1},"origin":{"anyOf":[{"type":"string","const":"built_in"},{"type":"string","const":"custom"}]},"state":{"anyOf":[{"type":"string","const":"draft"},{"type":"string","const":"active"},{"type":"string","const":"superseded"},{"type":"string","const":"disabled"}]},"revision":{"type":"integer","minimum":1},"profile":{"type":"object","patternProperties":{"^.*$":{}}},"createdByActorId":{"type":"string","minLength":1},"createdAt":{"type":"integer","minimum":0},"updatedAt":{"type":"integer","minimum":0}}},{"type":"null"}]},"selectedTarget":{"anyOf":[{"type":"object","required":["id","projectId","publicationId","sequence","profileVersionId","sourceRevision","deliveryMode","mediaReferenceCount","content","contentHash","profileHash","schemaHash","validationIssues","createdByActorId","createdAt"],"properties":{"id":{"type":"string","minLength":1},"projectId":{"type":"string","minLength":1},"publicationId":{"type":"string","minLength":1},"sequence":{"type":"integer","minimum":1},"profileVersionId":{"type":"string","minLength":1},"sourceRevision":{"type":"integer","minimum":1},"deliveryMode":{"anyOf":[{"type":"string","const":"manual"},{"type":"string","const":"automatic"}]},"mediaReferenceCount":{"type":"integer","minimum":0},"content":{"type":"object","patternProperties":{"^.*$":{}}},"contentHash":{"type":"string","minLength":1},"profileHash":{"type":"string","minLength":1},"schemaHash":{"type":"string","minLength":1},"validationIssues":{"type":"array","items":{"type":"object","patternProperties":{"^.*$":{}}}},"createdByActorId":{"type":"string","minLength":1},"createdAt":{"type":"integer","minimum":0}}},{"type":"null"}]}}}},"structureWarnings":{"type":"array","items":{"type":"object","required":["code","message","channelId","field","proposal"],"properties":{"code":{"type":"string","const":"structure_in_text"},"message":{"type":"string"},"channelId":{"type":"string"},"field":{"type":"string","enum":["source","target"]},"proposal":{"type":"object","required":["messages","firstComment","separatePosts"],"properties":{"messages":{"type":"array","items":{"type":"object","required":["text","note"],"properties":{"text":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"description":"The first entry is the main text; the others go in the thread field, in order."},"firstComment":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Save it as the publication first comment."},"separatePosts":{"type":"array","items":{"type":"object","required":["label","text"],"properties":{"label":{"type":"string"},"text":{"type":"string"}}},"description":"Text meant for another account, such as a quote: a separate post on that account’s channel."}}}},"description":"The text may contain thread, reply or quote markers. Use the proposed fields if the parts are separate messages. Keep intentional single-post formatting as written."},"maxItems":100}}}}}},"400":{"description":"Response for status 400","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"confirmation":{"type":"string"},"warnings":{"type":"array","items":{"type":"object","required":["channelId","rule","period","maximum","count"],"properties":{"channelId":{"type":"string"},"rule":{"type":"string","enum":["daily_max","weekly_max"]},"period":{"type":"string"},"maximum":{"type":"integer"},"count":{"type":"integer"}}}},"code":{"type":"string"},"message":{"type":"string"},"publicationIds":{"type":"array","items":{"type":"string"}}}}}}}}},"401":{"description":"Response for status 401","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"confirmation":{"type":"string"},"warnings":{"type":"array","items":{"type":"object","required":["channelId","rule","period","maximum","count"],"properties":{"channelId":{"type":"string"},"rule":{"type":"string","enum":["daily_max","weekly_max"]},"period":{"type":"string"},"maximum":{"type":"integer"},"count":{"type":"integer"}}}},"code":{"type":"string"},"message":{"type":"string"},"publicationIds":{"type":"array","items":{"type":"string"}}}}}}}}},"403":{"description":"Response for status 403","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"confirmation":{"type":"string"},"warnings":{"type":"array","items":{"type":"object","required":["channelId","rule","period","maximum","count"],"properties":{"channelId":{"type":"string"},"rule":{"type":"string","enum":["daily_max","weekly_max"]},"period":{"type":"string"},"maximum":{"type":"integer"},"count":{"type":"integer"}}}},"code":{"type":"string"},"message":{"type":"string"},"publicationIds":{"type":"array","items":{"type":"string"}}}}}}}}},"404":{"description":"Response for status 404","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"confirmation":{"type":"string"},"warnings":{"type":"array","items":{"type":"object","required":["channelId","rule","period","maximum","count"],"properties":{"channelId":{"type":"string"},"rule":{"type":"string","enum":["daily_max","weekly_max"]},"period":{"type":"string"},"maximum":{"type":"integer"},"count":{"type":"integer"}}}},"code":{"type":"string"},"message":{"type":"string"},"publicationIds":{"type":"array","items":{"type":"string"}}}}}}}}},"409":{"description":"Response for status 409","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"conflictingPublicationIds":{"type":"array","items":{"type":"string"}}}}}}}}},"422":{"description":"Response for status 422","content":{"application/json":{"schema":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"confirmation":{"type":"string"},"warnings":{"type":"array","items":{"type":"object","required":["channelId","rule","period","maximum","count"],"properties":{"channelId":{"type":"string"},"rule":{"type":"string","enum":["daily_max","weekly_max"]},"period":{"type":"string"},"maximum":{"type":"integer"},"count":{"type":"integer"}}}},"code":{"type":"string"},"message":{"type":"string"},"publicationIds":{"type":"array","items":{"type":"string"}},"structureWarnings":{"type":"array","items":{"type":"object","required":["code","message","channelId","field","proposal"],"properties":{"code":{"type":"string","const":"structure_in_text"},"message":{"type":"string"},"channelId":{"type":"string"},"field":{"type":"string","enum":["source","target"]},"proposal":{"type":"object","required":["messages","firstComment","separatePosts"],"properties":{"messages":{"type":"array","items":{"type":"object","required":["text","note"],"properties":{"text":{"type":"string"},"note":{"anyOf":[{"type":"string"},{"type":"null"}]}}},"description":"The first entry is the main text; the others go in the thread field, in order."},"firstComment":{"anyOf":[{"type":"string"},{"type":"null"}],"description":"Save it as the publication first comment."},"separatePosts":{"type":"array","items":{"type":"object","required":["label","text"],"properties":{"label":{"type":"string"},"text":{"type":"string"}}},"description":"Text meant for another account, such as a quote: a separate post on that account’s channel."}}}},"description":"The text may contain thread, reply or quote markers. Use the proposed fields if the parts are separate messages. Keep intentional single-post formatting as written."},"maxItems":100},"structureAcknowledgement":{"type":"string","description":"Copy into postdot-structured-text-acknowledgement when retrying the same strict request to keep the text as written."}}}}}}}}}}}},"servers":[{"url":"https://postdot.example","description":"Replace with your Postdot instance origin."}]}
```
