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] API - Dashboard Status Connection Logs #6415

Open
frankparth opened this issue Feb 19, 2025 · 1 comment
Open

[BUG] API - Dashboard Status Connection Logs #6415

frankparth opened this issue Feb 19, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@frankparth
Copy link

frankparth commented Feb 19, 2025

Describe the bug
When it comes to this interface:
https://github.com/nextgenhealthcare/connect/blob/development/server/src/com/mirth/connect/plugins/dashboardstatus/DashboardConnectorStatusServletInterface.java

I'm getting back a 200 and empty response if the 'fetchSize' parameter is missing. Can we get back either a 4xx error or a default count when this parameter is missing? I understand it's required now but 200 with an empty response feels like when my ex-girlfriend would tell me everything was fine when it wasn't...

To Reproduce
Hit the endpoint with only the channel ID and no parameters.
ex) https://{{mirthbase}}/mirth/api/extensions/dashboardstatus/conectionLogs/{{channelId}} <- gives back a 200 with empty

@frankparth frankparth added the bug Something isn't working label Feb 19, 2025
@jonbartels
Copy link
Contributor

Maybe related? #5624

The problem @frankparth describes here is not the only place that there are undocumented required parameters in the APIs.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants