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

Replace user=<STRING> query parameters for /dandisets/ endpoint with mine=<true|false> #1879

Open
jwodder opened this issue Feb 29, 2024 · 0 comments

Comments

@jwodder
Copy link
Member

jwodder commented Feb 29, 2024

(Requested by @yarikoptic in dandi/dandi-cli#1414 (comment))

The /dandisets/ endpoint currently takes an optional user query parameter that, when present, can only be set to me (in order to retrieve only the authenticated user's Dandisets). However, having a query parameter that can only be set to a single value doesn't make much sense. It would be better for the user parameter to be replaced with a parameter mine (or similar) that can be set to either true or false (default false).

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