[PR #153] [MERGED] Add api for server transfers #612

Closed
opened 2026-02-04 18:37:02 +03:00 by OVERLORD · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/pelican-dev/panel/pull/153
Author: @Boy132
Created: 4/25/2024
Status: Merged
Merged: 5/15/2024
Merged by: @iamkubi

Base: mainHead: feature/server-transfer-api


📝 Commits (8)

  • 1ad29cb add application api endpoint to start server transfer
  • 2517631 add basics for "cancel transfer" endpoint
  • 4107872 wire up wings cancel
  • e2d7436 lint
  • 9b897d0 Merge branch 'pelican-dev:main' into feature/server-transfer-api
  • 6fa961e Merge branch 'pelican-dev:main' into feature/server-transfer-api
  • b59b0ca Merge branch 'pelican-dev:main' into feature/server-transfer-api
  • 0eb96a5 Merge branch 'refs/heads/main' into feature/server-transfer-api

📊 Changes

5 files changed (+229 additions, -114 deletions)

View changed files

📝 app/Http/Controllers/Admin/Servers/ServerTransferController.php (+7 -109)
📝 app/Http/Controllers/Api/Application/Servers/ServerManagementController.php (+49 -5)
📝 app/Repositories/Daemon/DaemonServerRepository.php (+40 -0)
app/Services/Servers/TransferServerService.php (+131 -0)
📝 routes/api-application.php (+2 -0)

📄 Description

Closes #129

  • POST /api/application/{server}/transfer (starts a server transfer)
  • POST /api/application/{server}/transfer/cancel (cancels a server transfer)

🔄 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/pelican-dev/panel/pull/153 **Author:** [@Boy132](https://github.com/Boy132) **Created:** 4/25/2024 **Status:** ✅ Merged **Merged:** 5/15/2024 **Merged by:** [@iamkubi](https://github.com/iamkubi) **Base:** `main` ← **Head:** `feature/server-transfer-api` --- ### 📝 Commits (8) - [`1ad29cb`](https://github.com/pelican-dev/panel/commit/1ad29cbabccc1d1655b73a93141683ad565e4cfd) add application api endpoint to start server transfer - [`2517631`](https://github.com/pelican-dev/panel/commit/25176319b7315fcfe3c2be82955fca67b6216a0b) add basics for "cancel transfer" endpoint - [`4107872`](https://github.com/pelican-dev/panel/commit/410787271a294c7f94e58fdd56ccf3ca64bf214c) wire up wings cancel - [`e2d7436`](https://github.com/pelican-dev/panel/commit/e2d7436935d80eee13bb0528e231465bbed1b62e) lint - [`9b897d0`](https://github.com/pelican-dev/panel/commit/9b897d0da880a151074f5b0a59803460e36d98e4) Merge branch 'pelican-dev:main' into feature/server-transfer-api - [`6fa961e`](https://github.com/pelican-dev/panel/commit/6fa961e8ae17fa26799f6eb5a1c7084c7004abb2) Merge branch 'pelican-dev:main' into feature/server-transfer-api - [`b59b0ca`](https://github.com/pelican-dev/panel/commit/b59b0ca6479d5a82267935c305fd12f5756661c8) Merge branch 'pelican-dev:main' into feature/server-transfer-api - [`0eb96a5`](https://github.com/pelican-dev/panel/commit/0eb96a5ea37149255a683e90ef2cc315f16bc06e) Merge branch 'refs/heads/main' into feature/server-transfer-api ### 📊 Changes **5 files changed** (+229 additions, -114 deletions) <details> <summary>View changed files</summary> 📝 `app/Http/Controllers/Admin/Servers/ServerTransferController.php` (+7 -109) 📝 `app/Http/Controllers/Api/Application/Servers/ServerManagementController.php` (+49 -5) 📝 `app/Repositories/Daemon/DaemonServerRepository.php` (+40 -0) ➕ `app/Services/Servers/TransferServerService.php` (+131 -0) 📝 `routes/api-application.php` (+2 -0) </details> ### 📄 Description Closes #129 - POST /api/application/{server}/transfer _(starts a server transfer)_ - POST /api/application/{server}/transfer/cancel _(cancels a server transfer)_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
OVERLORD added the pull-request label 2026-02-04 18:37:02 +03:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/panel#612