CenterForDigitalHumanities / TPEN28

Split front/back ends from each other
3 stars 2 forks source link

Adding a URL-only way to get version 3 transcriptions, closing #693 #694

Closed markskroba closed 1 year ago

markskroba commented 1 year ago

This adds a URL parameter check in the content negotiation that happens in ProjectServlet and CanvasServlet, looking for the version parameter. When its value is 3 it returns Presentation 3 transcription regardless of any header values. Examples of such URLs are:

http://localhost:8080/TPEN28/manifest/7211?version=3 http://localhost:8080/TPEN28/canvas/13251390?version=3