[CAMPMAN-25] Template annotations endpoint Created: 26/Mar/21  Updated: 06/Feb/23  Resolved: 06/Feb/23

Status: Closed
Project: Campaign Manager
Component/s: None
Affects Version/s: 3.1.4
Fix Version/s: 3.1.9

Type: New Feature Priority: Neutral
Reporter: Richard Gange Assignee: Teresa Miyar
Resolution: Fixed Votes: 0
Labels: rest
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Relates
relation
is related to PAGES-423 Parametrisable repository in Template... Closed
Template:
Acceptance criteria:
Empty
Date of First Response:

 Description   

There's a new template annotations endpoint (/template-annotations/v1/). We need a way to get template annotations for campaign manager content.

Notes

  • The current endpoint is hard coded for website workspace.
  • We either add a new endpoint to the Campaign manager or create a PR to add another method to TemplateAnnotationEndpoint which allows for a workspace to be specified.


 Comments   
Comment by Teresa Miyar [ 07/Apr/21 ]

Info from PD:

Definition Endpoint returns JSON, while annotation endpoint returns just set of strings, which user would have to parse somehow to get relevant info.
Template annotation endpoint also evaluates Page Editor Attributes, which wouldn't make much sense outside of website repo, it is just used to render the greenbars.

 

Although we are still discussing since the use case that generated this issue makes sense

Comment by Teresa Miyar [ 13/Jan/23 ]

Fixed on Magnolia 6.2.23

Generated at Sun Feb 11 23:55:22 CET 2024 using Jira 9.4.2#940002-sha1:46d1a51de284217efdcb32434eab47a99af2938b.