API Reference
Deployed endpoints only
Base URL
Public registry base URL: https://capdag.com.
GET /cap:{urn}
Behavior: exact key lookup after canonicalization. This endpoint does not perform fuzzy or best-match selection.
- Parse path as CAP URN.
- Canonicalize with
CapUrn.fromString(...).toString(). - Read exact blob key from storage with
store.get(normalizedCapurn).
Responses:
200: stored capability JSON (or standard cap object).404: key not found.400: malformed/cap:...path format.
GET /api/capabilities
Returns all stored capability objects plus standard protocol caps not already present in storage. The response is not limited to urn/title; full stored objects are returned.
Results are sorted by canonical CAP URN string.
Not Implemented
/api/capabilities/match is not currently implemented in capdag-dot-com/functions.