Commit Graph
10 Commits
Author SHA1 Message Date
Jash 8a3d9ff455 fix: API add and edit answer 400 when the save fails in Monitors, Events, Servers, ServerStats and Zones refs #7680 2026-11-22 20:19:13 +05:30
Isaac Connor ca3dc91104 Merge pull request #6919 from AJ0070/fix-api-edit-allow-method
fix: API edit for events, servers, storage and four others only saves for POST or PUT
2026-11-21 09:46:04 -05:00
Jash 8e7f937bf8 fix: API edit for events, servers, storage and four others only saves for POST or PUT refs #6918 2026-11-20 08:07:21 +05:30
Jash 3272620019 fix: API add for servers, storage, states, camera models, manufacturers and server stats answers JSON with the new id refs #6896 2026-11-19 22:28:44 +05:30
Jash 8924411e68 fix: answer API deletes with a JSON message and a 500 on failure instead of an empty 200 refs #5981 2026-11-15 13:22:49 +05:30
Jash e599232ff5 fix: look up an API server stat by its own alias in view, pin its id on save and answer a failed add or edit with the validation errors refs #5918 2026-11-14 23:05:46 +05:30
Isaac ConnorandClaude Opus 4.8 dd2a658b31 fix: add the field allow-list to ServerStatsController too refs GHSA-xqfr-6v9x-cvwc
Completes the previous commit, which omitted this one call site.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-11-07 10:28:53 -05:00
Isaac Connor e8a866e504 Add named parameters support to ServerStatsController. 2023-10-26 18:26:51 -04:00
stefan 1bd9def63e [API] Fix User variable from array to object
Fix $user variable from array to object to make API work again.
2023-04-23 22:07:24 +02:00
Isaac Connor 8a6f0cbe1b Add ServerStats to api 2023-02-26 17:04:05 -05:00