API endpoints for indexing manifests, annotation lists, checking if they are indexed
rlskoeser opened this issue · comments
I can't tell how to programmatically index manifests and annotation lists, or how to check if they are already indexed.
I want to do bulk automated indexing by script; I'm also interested in automatically indexing on-demand if a user wants to start annotating something that has not been indexed yet.
I see some documentation about the html forms for indexing manifests and populating annotation lists; can these be called from a script? Are there any options for bulk indexing?
I have this documentation for indexing annotation lists:
https://github.com/glenrobson/SimpleAnnotationServer/blob/master/doc/Endpoints.md
and I can add the Manifest indexing.
Thank you, @glenrobson — appreciate it.
I was thinking that I need this, but now I'm not sure how essential it is. What does indexing a manifest get me? I see that there is some functionality related to statistics and reporting, and I see the manifest-based search.
If I index my manifests, then I can get all annotations based on the manifest short-id, correct? Will this handle canvases that are included in multiple different manifests and have different annotations in different contexts?
Is there an endpoint to delete a manifest from SAS?