Strapi integration: define who owns content and publication state
A headless CMS sync needs explicit rules for drafts, locales, media, relations, and editor changes.
- Use document or entry IDs, not slugs alone.
- Distinguish draft, scheduled, published, and archived content.
- Validate component and relation schemas.
- Make writes idempotent and auditable.
- Protect administrative tokens server-side.
Test schema migrations, deleted relations, duplicate slugs, locale fallbacks, media failure, and role changes. Decide whether external synchronization may overwrite an editor's newer work. Preview and publish should remain separate permissions.
1件のコメント