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

Directory API should allow us to query by source id #94

Open
pgulley opened this issue Oct 31, 2024 · 3 comments
Open

Directory API should allow us to query by source id #94

pgulley opened this issue Oct 31, 2024 · 3 comments
Assignees

Comments

@pgulley
Copy link
Member

pgulley commented Oct 31, 2024

As title says- there is no way to query a source just by ID in the API. Should be an easy thing to fix.
Evan, just tagging you here in case you get around to it first- this is relatively low priority.

@pgulley
Copy link
Member Author

pgulley commented Oct 31, 2024

For that matter, there's no way to do the same for collections either- ie, if I know a collection ID, I have to query for the whole collections list and filter it down! I think this is really quite straightforward, I'll move on trying to get this going asap.

@rahulbot
Copy link
Contributor

Oops! I think I wrote that code on the web server using Django ViewSets a long time ago. Perhaps I just missed a method the REST endpoint method to return by ID?

Once in place, that'd be a good thing to add to the Directory sample notebook too.

@pgulley
Copy link
Member Author

pgulley commented Nov 1, 2024

Addressed in #95!
I'll leave this open for the documentation task.

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

No branches or pull requests

3 participants