Content api route handler
: shell
: content-api
: middleware
: /modules/core/content/services/content-api-route-handler.js
ContentApiRouteHandler
This handler registers itself as an Express middleware that handles a catchall route with a relatively low priority, for content API.
ContentApiRouteHandler.register(scope, context)
Registers the default content API middleware.
/api/src/in front of a content item id gets its document source./api/shapes/in front of a content item is gets the processed shape for it.
Kind: static method of ContentApiRouteHandler
| Param | Type | Description |
|---|---|---|
| scope | object |
The scope. |
| context | object |
The context. |
| context.expressApp | object |
The Express application object. |