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

Inconsistent naming of the target_project & target_package parameters in POST /source?cmd=branch #16027

Open
dcermak opened this issue Apr 19, 2024 · 0 comments · May be fixed by #16072
Open
Labels
API Things regarding our API Bug Frontend Things related to the OBS RoR app

Comments

@dcermak
Copy link
Contributor

dcermak commented Apr 19, 2024

Is your feature request related to a problem? Please describe.

The naming of the target_project & target_package parameters for POST /source?cmd=branch is inconsistent. While the API route takes the target project & package names via the name with an underscore: target_project=foo&target_package=bar, it returns a status where the same values are included without an underscore:

<status code="ok">
  <summary>Ok</summary>
  <data name="targetproject">foo</data>
  <data name="targetpackage">bar<data>
</status>

Describe the solution you'd like
use either an underscore or no underscore

@hennevogel hennevogel added Bug Frontend Things related to the OBS RoR app API Things regarding our API labels Apr 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API Things regarding our API Bug Frontend Things related to the OBS RoR app
Projects
None yet
2 participants