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

[BUG] - Report Problem With Stop API #368

Open
amrhossamdev opened this issue Sep 4, 2024 · 1 comment
Open

[BUG] - Report Problem With Stop API #368

amrhossamdev opened this issue Sep 4, 2024 · 1 comment

Comments

@amrhossamdev
Copy link
Member

amrhossamdev commented Sep 4, 2024

Summary

report-problem-with-stop api is not working when sending a large userComment. This affects the OBA Android app and we can miss valuable reports.

Steps to reproduce:

  • Use report-problem-with-stop API and try to send a large userComment

Expected behavior:

allow sending the full user comment.

Observed behavior:

Request fails

@bkirz
Copy link

bkirz commented Nov 15, 2024

This looks like an inherent limitation of the current GET endpoint. Given that this endpoint creates a record and can contain larger inputs, it should be a POST endpoint. I think the most promising path forward here would be:

  • Create a POST endpoint with similar semantics to the existing GET endpoint that can accommodate larger payloads in the POST body.
  • Deprecate the existing GET endpoint and migrate clients over to the new POST endpoint.

I'm not sure what the deprecation model looks like for software with this distribution model. If we can't properly delete the endpoint, I think marking it as deprecated in documentation and possibly removing OpenAPI hooks would suffice.

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