Closed 16BitNarwhal closed 2 months ago
Additional thoughts about API design: maybe the route should be catalog
? and asking whether or not it's downloaded should be a param?
Also, can you attach here a screenshot so I have an idea of what it looks like now?
Additional thoughts about API design: maybe the route should be
catalog
? and asking whether or not it's downloaded should be a param?
Whoops, saw this a bit late. I was thinking /index/{index}/cached
to check status and /indexes
to list all
I think this is a good time to document the API in an MD, e.g., docs/rest-api.md
or something like that?
Provide examples like this? https://github.com/castorini/anserini/blob/master/docs/fatjar-regressions/fatjar-regressions-v0.36.1.md#webapp-and-rest-api
following discussion of #2502
/indexes
and/indexes/{index}/status
from the server/indexes
route/index/{index}/
is renamed to/indexes/{index}