Examples

SnapshotHttpPlugin Scenario

Use a runtime HTTP scenario to show how a plugin can expose its own read-only endpoint

SnapshotHttpPlugin Scenario

Scenario

You want one plugin to provide a read-only snapshot endpoint:

  • GET /api/notes/snapshot

That is a clean fit for plugin.http.server.

Current boundary

This capability belongs to the full runtime HTTP assembly path.

That means:

  • plugin.http.server is not the same kind of explicit call as agent.plugins.runAction(...)
  • Downcity exposes HTTP and automatically mounts plugin HTTP routes for the running Agent
  • if you need this, think of it as a fuller host/runtime integration capability