mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #159] [MERGED] Add api for database hosts #612
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/pelican-dev/panel/pull/159
Author: @Boy132
Created: 4/26/2024
Status: ✅ Merged
Merged: 5/15/2024
Merged by: @iamkubi
Base:
main← Head:feature/database-host-api📝 Commits (10+)
8f188d9add application api endpoints for database hostsbd09176run pintf0c8029forgot to lint this oneb9fabfbUpdate app/Http/Controllers/Api/Application/DatabaseHosts/DatabaseHostController.php6e0d29cUpdate routes/api-application.php6f82c4frename all "databaseHost" to "database_host"a5dc295Merge branch 'pelican-dev:main' into feature/database-host-apib16d907Merge branch 'pelican-dev:main' into feature/database-host-apic0a7d3bMerge branch 'pelican-dev:main' into feature/database-host-apid252031Merge branch 'pelican-dev:main' into feature/database-host-api📊 Changes
7 files changed (+199 additions, -0 deletions)
View changed files
➕
app/Http/Controllers/Api/Application/DatabaseHosts/DatabaseHostController.php(+100 -0)➕
app/Http/Requests/Api/Application/DatabaseHosts/DeleteDatabaseHostRequest.php(+13 -0)➕
app/Http/Requests/Api/Application/DatabaseHosts/GetDatabaseHostRequest.php(+13 -0)➕
app/Http/Requests/Api/Application/DatabaseHosts/StoreDatabaseHostRequest.php(+19 -0)➕
app/Http/Requests/Api/Application/DatabaseHosts/UpdateDatabaseHostRequest.php(+16 -0)📝
app/Transformers/Api/Application/DatabaseHostTransformer.php(+19 -0)📝
routes/api-application.php(+19 -0)📄 Description
Adds the following new endpoints to the application api:
Also adds a node include parameter to the database host transformer.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.