You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@brambg mentioned that target.type is not even necessary in the query.
This could mean that we can abstract from calling this 'get by canvasID' to 'get by targetSource' or something similar, allowing for more use cases to be handled by the same endpoint.
svandaalen
changed the title
Add canvasId endpoint for fetching annotations based on canvasId
Add targetSource endpoint for fetching annotations based on targetSource
Jul 10, 2024
To integrate knaw-huc/textannoviz#128 into TAV, TAV needs an endpoint in Broccoli that allows for fetching of annotations based on the
target.source
.A quick recap of what we discussed yesterday:
bodyId
endpoint from https://broccoli.tt.di.huc.knaw.nl/projects/republic/urn:republic:session-3816-num-95-resolution-3?overlapTypes=AttendanceList,RepublicParagraph,Attendant,Resolution,Reviewed,Session,Scan,Entity&includeResults=anno,iiif,text&views=self&relativeTo=Origin to https://broccoli.tt.di.huc.knaw.nl/projects/republic/bodyId/….canvasId
endpoint, e.g., https://broccoli.tt.di.huc.knaw.nl/projects/republic/canvasId/…. Either give thecanvasId
after the slash, or make it aPOST
endpoint and send thecanvasId
and the parameters through JSON.bodyId
and thecanvasId
endpoints.The AR search query to fetch the
Resolution
s that belong tocanvasId
https://images.diginfra.net/api/pim/iiif/9c33830d-797f-4a14-a474-5017466700c7/canvas/93504486-522c-42f6-8001-d13829692f5c is:Bram noted that
"target.type": "Canvas",
could be left out. He also already created an index in AR to speed up this query.The text was updated successfully, but these errors were encountered: