rspace-online/modules/rsocials
Jeff Emmett 1cde95f3fc fix(rsocials): Postiz createPost/createThread use nested posts[] shape
Postiz's /public/v1/posts expects a nested envelope:
  { type, date, shortLink, tags, posts: [{ integration:{id}, value:[{content}], settings:{__type} }] }

The earlier shim's flat {content, integrationIds, type, scheduledAt} was
rejected with "All posts must have an integration id" (the field is named
integration, not integrationIds; it's a nested object, not an array of strings).

Also: Postiz treats PostItem.value[] as thread segments, so createThread now
sends ONE request with multiple value entries rather than N grouped posts.

Callers now pass full {id, identifier} tuples so settings.__type is set
correctly (otherwise Postiz can't route to the provider handler).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-17 10:49:18 -04:00
..
components feat(rsocials): auto-push scheduled posts to Postiz + reconcile published state 2026-04-17 10:28:26 -04:00
lib fix(rsocials): Postiz createPost/createThread use nested posts[] shape 2026-04-17 10:49:18 -04:00
applets.ts feat(canvas): rApplet Phase 2 — port chips, data flow, toolbar palette, 15 module applets 2026-04-15 13:08:49 -04:00
campaign-data.ts feat(rsocials): AI campaign generator from event brief 2026-03-12 13:59:56 -07:00
landing.ts fix: disable all feature tours — shell welcome tour, TourEngine, landing links 2026-04-15 11:12:00 -04:00
local-first-client.ts feat(rsocials): add Campaign Wizard with 5-step AI-guided creation flow 2026-03-21 14:41:45 -07:00
mod.ts fix(rsocials): Postiz createPost/createThread use nested posts[] shape 2026-04-17 10:49:18 -04:00
schemas.ts feat(rsocials): auto-push scheduled posts to Postiz + reconcile published state 2026-04-17 10:28:26 -04:00