Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
I'm too lazy to test
Describe the Bug
When using the Beta API, a POST request to /api/apps with invalid input JSON will return a response of 200 OK, with a JSON document that describes the error. It should respond with 400 Bad Request.
Expected Behavior
Invalid POST request to /api/apps should return 400 Bad Request
Additional Context
No response
Host Operating System
Linux
Operating System Version
Linux aizen 6.11.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 03:30:35 +0000 x86_64 GNU/Linux
Architecture
amd64/x86_64
Sunshine commit or version
0.23.1
Package
Linux - AUR (Third Party)
GPU Type
n/a
GPU Model
n/a
GPU Driver/Mesa Version
n/a
Capture Method
None
Config
No response
Apps
No response
Relevant log output
Is there an existing issue for this?
Is your issue described in the documentation?
Is your issue present in the latest beta/pre-release?
I'm too lazy to test
Describe the Bug
When using the Beta API, a POST request to /api/apps with invalid input JSON will return a response of 200 OK, with a JSON document that describes the error. It should respond with 400 Bad Request.
Expected Behavior
Invalid POST request to /api/apps should return 400 Bad Request
Additional Context
No response
Host Operating System
Linux
Operating System Version
Linux aizen 6.11.6-zen1-1-zen #1 ZEN SMP PREEMPT_DYNAMIC Fri, 01 Nov 2024 03:30:35 +0000 x86_64 GNU/Linux
Architecture
amd64/x86_64
Sunshine commit or version
0.23.1
Package
Linux - AUR (Third Party)
GPU Type
n/a
GPU Model
n/a
GPU Driver/Mesa Version
n/a
Capture Method
None
Config
No response
Apps
No response
Relevant log output