[DOCU-2914] Update the $type explanation Created: 14/Nov/23 Updated: 16/Nov/23 Resolved: 15/Nov/23 |
|
| Status: | Closed |
| Project: | Documentation |
| Component/s: | None |
| Affects Version/s: | None |
| Fix Version/s: | None |
| Type: | Improvement | Priority: | Neutral |
| Reporter: | Bartosz Staryga | Assignee: | Martin Drápela |
| Resolution: | Done | Votes: | 0 |
| Labels: | None | ||
| Remaining Estimate: | Not Specified | ||
| Time Spent: | Not Specified | ||
| Original Estimate: | Not Specified | ||
| Attachments: |
|
| Documentation page URL: | https://docs.magnolia-cms.com/headless/api/delivery.html#_configuration |
| Reporter Name: | Bartosz |
| Email: | bartosz.staryga@magnolia-cms.com |
| Description |
|
1/ $type is not required, not even when there is no class. 2/ Possible values: jcrPagesDeliveryEndpoint_v2 is a preconfigured endpoint, so can we put there that using this type is equivalent to having this YAML (yaml based on https://git.magnolia-cms.com/projects/MODULES/repos/pages/browse/magnolia-pages-jcr-rest/src/main/java/info/magnolia/pages/rest/v2/JcrPagesDeliveryEndpointDefinition.java) |
| Comments |
| Comment by Christopher Zimmermann [ 15/Nov/23 ] |
|
bstaryga this is a typo right? "can we update that jcrDeliveryEndpoint_v2 needs to be set " you meant to say jcrPagesDeliveryEndpoint_v2 there? |
| Comment by Bartosz Staryga [ 15/Nov/23 ] |
|
czimmermann that one of the confusions i have now
|