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

get /testcases/<test_case_name> has ambiquous or maybe even wrong behavior #34

Open
kbenne opened this issue Dec 19, 2023 · 2 comments
Open
Assignees

Comments

@kbenne
Copy link
Collaborator

kbenne commented Dec 19, 2023

"When I try GET https://api.dev.boptest.net/testcases/bestest_air, I get an empty list in return (though bestest_air should exist). Same as when I try GET https://api.dev.boptest.net/testcases/bestest_airppp (though bestest_airppp doesn't exist). I'm not sure what the expected response is in terms of errors and list items, but I don't think both should return an empty list."

We need to clarify the design and then adjust the implmentation to make sure that it does what we want. This endpoint was created to confirm the existence of a test case.

@kbenne
Copy link
Collaborator Author

kbenne commented Feb 27, 2024

The API is interpreting these endpoints as namespaces. Based on this change, these requests should now return a 404 error code to indicate that there is no such namespace. I propose that this can be closed.

@haraldwalnum @dhblum

@dhblum
Copy link
Contributor

dhblum commented Feb 27, 2024

I see. Yes, this makes sense then.

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