-
Improvement
-
Resolution: Unresolved
-
Neutral
-
None
-
None
-
None
-
None
We can provide a default /.rest/pages/v2 in light dev resource in https://git.magnolia-cms.com/projects/MODULES/repos/pages/browse/magnolia-spa-rendering/src/main/resources/spa-rendering/restEndpoints
for use without config anything
$type: jcrPagesDeliveryEndpoint_v2 workspace: website systemProperties: - mgnl:template depth: 100 nodeTypes: - mgnl:page - mgnl:area - mgnl:component childNodeTypes: - mgnl:area - mgnl:component personalized: true inheritanceComponent: false autogenerateComponent: false
We have to propose another 2 new property config here (inheritanceComponent and autogenerateComponent ) for jcrPagesDeliveryEndpoint_v2 configuration. So user can config them to true if they want to support, but default both of them are false
Update: A part of this ticket has been done. Default properties has been set to jcrPagesDeliveryEndpoint_v2 by default
See https://git.magnolia-cms.com/projects/MODULES/repos/pages/pull-requests/578/overview
From 6.2.35: User can define page endpoint simply like below. Note: You still have to define resolver by your own
$type: jcrPagesDeliveryEndpoint_v2 bypassWorkspaceAcls: true references: - name: assetReference propertyName: image referenceResolver: class: info.magnolia.rest.reference.dam.AssetReferenceResolverDefinition
- relates to
-
MGNLFE-467 Update template and rest endpoint of react-minimal spa for supporting component inheritance and autogeneration
- Closed
-
MGNLREST-732 Tune default configuration of jcrPagesDeliveryEndpoint_v2
- Closed