Skip to content

Management endpoint URL form and virtual host policy for Universal APIs - #84

Draft
rymsha wants to merge 2 commits into
masterfrom
claude/management-endpoint-vhost-context-45kiro
Draft

Management endpoint URL form and virtual host policy for Universal APIs#84
rymsha wants to merge 2 commits into
masterfrom
claude/management-endpoint-vhost-context-45kiro

Conversation

@rymsha

@rymsha rymsha commented Sep 1, 2026

Copy link
Copy Markdown
Contributor

Companion to enonic/xp#12314 and enonic/doc-platform#602.

web/apis.adoc:

  • Corrects two statements verified against the code: on the management endpoint a Universal API is served at the root (/<app>:<api>), not under /api/; and there is no API index (GET /api) on the management endpoint — ApiIndexHandler is only dispatched on the web connector.
  • New Honouring virtual host policy section: how a management vhost's context.api.<app>\:<api>.<setting> reaches an app's API as context attributes, what verbs means, that an absent setting means unrestricted, and a TypeScript example of enforcing it the way XP's own resources do.
  • xp-820.svg badge for docs/web/images.

Text states the contract only; rationale lives in the xp PR.

🤖 Generated with Claude Code

https://claude.ai/code/session_01Nfw59S52x9S9Mo18FSiZ7T

…versal APIs

Universal APIs mounted on the management endpoint are served at the root of
the port, not under /api/, and there is no API index there. Adds a section on
honouring the per-API verb policy a management virtual host delivers through
context attributes.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nfw59S52x9S9Mo18FSiZ7T
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01Nfw59S52x9S9Mo18FSiZ7T
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants