Skip to content

API

This page is generated from public package documentation in capell-4/packages and the package manifest checked into the source repository.

FieldValue
Composer packagecapell-app/api
Package slugapi
Product groupCapell Publishing Pro
Tierpremium
Bundlepublishing-pro
Runtime contextsfrontend
Capell version^4.0
Source repositorycapell-app/packages
Source pathpackages/api
Docs sourcepackages/api/docs
Manifestcapell.json

Capell API exposes published page content as JSON for public integrations such as terms pop-ups, headless fragments, and lightweight client-side content fetches.

  • Package: capell-app/api
  • Namespace: Capell\Api\
  • Surfaces: public HTTP JSON endpoints
  • Service providers: packages/api/src/Providers/ApiServiceProvider.php
  • Capell dependencies: capell-app/core, capell-app/layout-builder
  • Exposes published Capell page data as public JSON for headless fragments, popups, terms content, and lightweight integrations.
  • Keeps API output scoped to published content so integrations do not need admin access or internal page models.
  • Gives developers a stable public delivery surface while preserving the rule that authoring state never appears in public responses.
  • Host-scoped JSON delivery for published pages.
  • Optional layout payload inclusion for integrations that need structured page content.
  • HTML sanitization rules for public API responses.

Start with Overview for package surfaces and screenshot coverage, then Page API for endpoint shape, host-scoped site resolution, fields, layout includes, and HTML sanitization rules.

Screenshots and response captures are generated from docs/screenshots.json during package documentation runs.