Skip to main content

API Only Pattern

The API only pattern suits teams that want full control over their own application flow, user interface, and server-side orchestration.

Typical sequence​

  1. Authenticate using the confirmed Capricorn mechanism.
  2. Create or query the required domain resource.
  3. Capture downstream events and reconcile responses.
  4. Apply retry, idempotency, and audit controls as confirmed.

Illustrative sequence table​

StepExample actionCapricorn-specific detail
AuthenticateRequest access token[TO BE CONFIRMED]
Submit requestSend JSON payload to domain endpoint[TO BE CONFIRMED - base URL and path]
Handle responsePersist identifiers, statuses, and errors[TO BE CONFIRMED - status model]
ReconcilePoll or receive event updates[TO BE CONFIRMED - reconciliation approach]
{
"example": "illustrative-request-only",
"note": "Replace with confirmed Capricorn schema when available"
}

Delivery considerations​

  • Validate idempotency rules once published.
  • Confirm retry windows and rate limits.
  • Capture correlation identifiers for support.
  • Ensure observability aligns with Capricorn support expectations.