Uploaded image for project: 'Magnolia pages module'
  1. Magnolia pages module
  2. PAGES-423

Parametrisable repository in TemplateAnnotationsEndpoint

    XMLWordPrintable

Details

    Description

      There's a new template annotations endpoint (/template-annotations/v1/). We need a way to get template annotations for other repositories like campaign manager. The current endpoint is hard coded for website workspace. There are other repositories like the campaign manager that also needs to render the content in the page editor, and would benefit from the new endpoint.

      Example of data stored in campaign-manager:

      /welcome-back/Welcome-back
      /welcome-back/Welcome-back/tag=258c7a63-0f07-4321-b6b0-4986b52f32aa
      /welcome-back/Welcome-back/mgnl:createdBy=superuser
      /welcome-back/Welcome-back/jcr:uuid=c9e561d5-fb02-4370-a487-c53a0b4b027d
      /welcome-back/Welcome-back/jcr:createdBy=admin
      /welcome-back/Welcome-back/name=Welcome back
      /welcome-back/Welcome-back/mgnl:lastModified=2020-09-22T08:06:40.716Z
      /welcome-back/Welcome-back/mgnl:template=headless-ecommerce:pages/ManagedCampaign
      /welcome-back/Welcome-back/jcr:primaryType=campaign-item
      /welcome-back/Welcome-back/jcr:created=2021-04-01T07:18:52.137Z
      /welcome-back/Welcome-back/mgnl:created=2020-09-22T08:06:36.631Z
      /welcome-back/Welcome-back/mgnl:lastModifiedBy=superuser
      /welcome-back/Welcome-back/main[mgnl:area]
      

       

      Checklists

        Acceptance criteria

        Attachments

          Issue Links

            There are no Sub-Tasks for this issue.

            Activity

              People

                dai.ha Dai Ha
                tmiyar Teresa Miyar
                DeveloperX
                Votes:
                1 Vote for this issue
                Watchers:
                3 Start watching this issue

                Dates

                  Created:
                  Updated:
                  Resolved:

                  Checklists

                    Task DoD

                    Time Tracking

                      Estimated:
                      Original Estimate - Not Specified
                      Not Specified
                      Remaining:
                      Remaining Estimate - Not Specified
                      Not Specified
                      Logged:
                      Time Spent - 1d
                      1d