-
Notifications
You must be signed in to change notification settings - Fork 11
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
expand
and deleted
are boolean parameters in the /source/<project>
GET command
#106
Comments
…of a project This means treating those parameters as boolean when calling GET /source/<project>/ Closes SUSE#106
WTF? When was this changed? All the work I did on osc-tiny was related to workarounds about query parameters. The API docs indicated that for this endpoint It's even the very same endpoint that I complained about in openSUSE/open-build-service#9715. |
Yep, it is, that's how I spotted the problem. |
Ah, yes, this endpoint expected boolean flags when I tested it over two months ago, too. But when I discovered that there are also parameters that expect boolean values, I only converted those to flags, which are explicitly declared as Guess what: This particular API endpoint does not declare these params as |
Next attempt: openSUSE/open-build-service#13215 |
If
deleted
is not handle as a boolean, when listing projects which have multibuild packages, all variants are returned as results, which is far from the intended behavior.So deleted and expand should be treated as boolean parameters in the context of listing project packages.
The text was updated successfully, but these errors were encountered: