Documentation
¶
Overview ¶
Command fc-sync is the declarative-reconciliation example. It builds a DefinitionSet describing what one application "owns" (roles, event types, dispatch pools, connections, subscriptions, processes, scheduled jobs, principals, documentation pages), then hands it to a Synchronizer that calls the per-category sync endpoints in dependency order.
One platform call per category (per client for scheduled jobs). RemoveUnlisted=true asks the platform to archive SDK-sourced rows that aren't in this set; UI-sourced rows are never touched. Documentation is always a full replace.
Run ¶
FC_BASE_URL=https://api.flowcatalyst.io \ FC_TOKEN=eyJ... \ go run ./examples/fc-sync
Click to show internal directories.
Click to hide internal directories.