Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

API for listing existing indexes #789

Open
prabhatsharma opened this issue Jun 1, 2021 · 5 comments
Open

API for listing existing indexes #789

prabhatsharma opened this issue Jun 1, 2021 · 5 comments

Comments

@prabhatsharma
Copy link

prabhatsharma commented Jun 1, 2021

I am looking to list the existing indexes that are available. Do we have an API endpoint for that?

Additional context
I am building a Javascript front end UI for toshi. Once the UI is in a state to be released, we can have it as a companion to toshi.

@hntd187
Copy link
Member

hntd187 commented Jun 1, 2021

Not currently, but it'd be very easy to add, a good first issue if someone wanted to learn a bit of rust.

@prabhatsharma
Copy link
Author

prabhatsharma commented Jun 2, 2021

Totally agree. It would be a good first issue. Rust is something that I intend to learn. This could take a couple of weeks though before I am able to learn and make a PR. I can build the UI much faster and have greater impact on the project if the API is available sooner. Here is a peek of what I am building (A kibana equivalent for Toshi). Let me know what you think about it?

joshi-1

@prabhatsharma
Copy link
Author

about-joshi

@hntd187
Copy link
Member

hntd187 commented Jun 4, 2021

Oh what a cute akita! This looks great, I'd love to see something like this be available, if you have interest as well I don't mind introducing it into the toshi-search org. It's up to you but it looks fantastic thanks for the effort.

@hntd187
Copy link
Member

hntd187 commented Jun 6, 2021

I added a list endpoint, you can try it via

curl -X GET --location "http://localhost:8080/_list" -H "Content-Type: application/json"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants