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

Endpoint to list the uploaded items #845

Open
sadath-12 opened this issue Aug 20, 2024 · 0 comments
Open

Endpoint to list the uploaded items #845

sadath-12 opened this issue Aug 20, 2024 · 0 comments

Comments

@sadath-12
Copy link
Contributor

Currently we make this happen via

curl -X 'GET' \
  'http://ip:8900/namespaces/{namespace}/extraction_graphs/{extraction_graph}/content' \
  -H 'accept: application/json'

search the item which does not have parent_id and not down its id then that becomes parentID and in that u get the filename and then query minio to get the file url

by doing this u get all the files from pdf or any other media files

But I think it makes lot more sense to have a easy way of doing it , maybe something like

/namespaces/{namespace}/extraction_graphs/{extraction_graph}/files

This should return the links of all the files ingested to that graph

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

1 participant