[PR #170] [MERGED] Dev wolfapi #382

Closed
opened 2026-10-15 13:00:09 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/games-on-whales/wolf/pull/170
Author: @salty2011
Created: 1/27/2025
Status: ✅ Merged
Merged: 2/1/2025
Merged by: @ABeltramo

Base: stable ← Head: dev-wolfapi


📝 Commits (10+)

  • 73b4796 Add unpair client to API
  • 3c15b3d FIX: Remove duplicate field definition
  • 6b2d470 refactor: improve error handling in UnpairClient endpoint
  • ddc5d51 fix: update client ID retrieval in UnpairClient endpoint to use optional payload
  • d3ac867 feat: add Unpair Client endpoint to the API with request and response schema definitions
  • c28b2e8 Updating Spec so its referenced in the doc
  • f3ece3f fix: setting api doc's to light mode as darkmode is broken currently
  • 23e35ca fix: change api endoint PairedClient to output ClientID as string instead of number. Done for consistency and aid in UI development
  • b938c0c Add updating of client app_state_folder and settings
  • 43ebd1c removed duplicate function and corrected logic for looking up client

📊 Changes

10 files changed (+504 additions, -35 deletions)

View changed files

📝 docs/modules/dev/pages/api.adoc (+13 -1)
📝 docs/modules/dev/partials/spec.json (+245 -4)
📝 src/moonlight-server/api/api.hpp (+31 -3)
📝 src/moonlight-server/api/endpoints.cpp (+71 -6)
📝 src/moonlight-server/api/unix_socket_server.cpp (+25 -0)
📝 src/moonlight-server/rest/servers.cpp (+13 -2)
📝 src/moonlight-server/state/config.hpp (+32 -12)
📝 src/moonlight-server/state/configTOML.cpp (+26 -0)
📝 src/moonlight-server/state/data-structures.hpp (+0 -1)
📝 tests/testWolfAPI.cpp (+48 -6)

📄 Description

PR to enhance and fix various issues with with WolfAPI

resolves #168


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/games-on-whales/wolf/pull/170 **Author:** [@salty2011](https://github.com/salty2011) **Created:** 1/27/2025 **Status:** ✅ Merged **Merged:** 2/1/2025 **Merged by:** [@ABeltramo](https://github.com/ABeltramo) **Base:** `stable` ← **Head:** `dev-wolfapi` --- ### 📝 Commits (10+) - [`73b4796`](https://github.com/games-on-whales/wolf/commit/73b47961d6c8189cc4f32a465a710e12c5a4a49d) Add unpair client to API - [`3c15b3d`](https://github.com/games-on-whales/wolf/commit/3c15b3d17cde7330d43f096117a51e0b62d7b859) FIX: Remove duplicate field definition - [`6b2d470`](https://github.com/games-on-whales/wolf/commit/6b2d470cd38bf2a56288ecb3cdeceb9a5a213da7) refactor: improve error handling in UnpairClient endpoint - [`ddc5d51`](https://github.com/games-on-whales/wolf/commit/ddc5d51f921a042f5177ed27f8de13e285f7597a) fix: update client ID retrieval in UnpairClient endpoint to use optional payload - [`d3ac867`](https://github.com/games-on-whales/wolf/commit/d3ac8672b0dd7cf351bb01e9ee5a8fb1951f8979) feat: add Unpair Client endpoint to the API with request and response schema definitions - [`c28b2e8`](https://github.com/games-on-whales/wolf/commit/c28b2e8d1743dc674cb71a595483dd08cf3690cd) Updating Spec so its referenced in the doc - [`f3ece3f`](https://github.com/games-on-whales/wolf/commit/f3ece3f55b50e922e2c0eb16fe342f8fb657230b) fix: setting api doc's to light mode as darkmode is broken currently - [`23e35ca`](https://github.com/games-on-whales/wolf/commit/23e35cab08c82b29e317149a0abcf0455b643736) fix: change api endoint PairedClient to output ClientID as string instead of number. Done for consistency and aid in UI development - [`b938c0c`](https://github.com/games-on-whales/wolf/commit/b938c0c3914c75829739b2aca5aab78aa27e1719) Add updating of client app_state_folder and settings - [`43ebd1c`](https://github.com/games-on-whales/wolf/commit/43ebd1c78651f2b9654053b7f5b480e4bf0f9a7e) removed duplicate function and corrected logic for looking up client ### 📊 Changes **10 files changed** (+504 additions, -35 deletions) <details> <summary>View changed files</summary> 📝 `docs/modules/dev/pages/api.adoc` (+13 -1) 📝 `docs/modules/dev/partials/spec.json` (+245 -4) 📝 `src/moonlight-server/api/api.hpp` (+31 -3) 📝 `src/moonlight-server/api/endpoints.cpp` (+71 -6) 📝 `src/moonlight-server/api/unix_socket_server.cpp` (+25 -0) 📝 `src/moonlight-server/rest/servers.cpp` (+13 -2) 📝 `src/moonlight-server/state/config.hpp` (+32 -12) 📝 `src/moonlight-server/state/configTOML.cpp` (+26 -0) 📝 `src/moonlight-server/state/data-structures.hpp` (+0 -1) 📝 `tests/testWolfAPI.cpp` (+48 -6) </details> ### 📄 Description PR to enhance and fix various issues with with WolfAPI resolves #168 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-15 13:00:09 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
games-on-whales/wolf#382
No description provided.