AdminGet in-memory decorator registries

Get in-memory decorator registries

Admin-only debug endpoint that returns the current state of the in-memory decorator registries (routes registered by @Route, event handlers registered by @EventHandler, and projectors registered via registerProjector). Useful for verifying decorator pickup at runtime — e.g. to confirm a refactor did not silently drop routes. Requires dual authentication (X-Admin-API-Key + JWT with @smartphonekey.com email domain), same as /admin/cleanup/*.

curl -X GET "https://api.spkey.co/admin/debug/registry" \
  -H "Content-Type: application/json" \
  -H "X-API-Key: YOUR_API_KEY" \
  -H "Authorization: Bearer YOUR_API_TOKEN"
{
  "routes": [
    {
      "method": "example_string",
      "path": "example_string",
      "className": "John Doe",
      "aggregateType": "example_string",
      "isCreateCommand": true
    }
  ],
  "eventHandlers": [
    {
      "key": "example_string",
      "eventType": "example_string",
      "aggregateType": "example_string",
      "className": "John Doe"
    }
  ],
  "projectors": [
    {
      "id": "example_string",
      "className": "John Doe"
    }
  ],
  "summary": {
    "routeCount": 10,
    "eventHandlerCount": 10,
    "projectorCount": 10
  }
}
GET
/admin/debug/registry
GET
Base URLstring

Target server for requests. Edit to use your own host.

⚠️Authentication configuration error - security schemes not found
Request Preview
Response

Response will appear here after sending the request

Responses

routesarray
Required
eventHandlersarray
Required
projectorsarray
Required
summaryobject
Required