mirror of
https://github.com/pelican-dev/panel.git
synced 2026-05-04 18:00:48 +03:00
[PR #160] [MERGED] Add api for mounts #615
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/160
Author: @Boy132
Created: 4/26/2024
Status: ✅ Merged
Merged: 5/19/2024
Merged by: @iamkubi
Base:
main← Head:feature/mount-api📝 Commits (10+)
46c3e84add application api endpoints for mountsb071ca4run pintb44e49badd mounts resource to api keye6edcb9add includes to mount transformerfcd1ae4forgot delete route for mount itself32905cfadd migration for "r_mounts" column4fd40eeadd mounts to testcase api key56e164aMerge branch 'pelican-dev:main' into feature/mount-api8dc1a96Merge branch 'pelican-dev:main' into feature/mount-api7966738Merge branch 'pelican-dev:main' into feature/mount-api📊 Changes
12 files changed (+374 additions, -1 deletions)
View changed files
➕
app/Http/Controllers/Api/Application/Mounts/MountController.php(+165 -0)➕
app/Http/Requests/Api/Application/Mounts/DeleteMountRequest.php(+13 -0)➕
app/Http/Requests/Api/Application/Mounts/GetMountRequest.php(+13 -0)➕
app/Http/Requests/Api/Application/Mounts/StoreMountRequest.php(+13 -0)➕
app/Http/Requests/Api/Application/Mounts/UpdateMountRequest.php(+20 -0)📝
app/Models/ApiKey.php(+5 -1)📝
app/Services/Acl/Api/AdminAcl.php(+1 -0)➕
app/Transformers/Api/Application/MountTransformer.php(+89 -0)➕
database/migrations/2024_04_28_184102_add_mounts_to_api_keys.php(+28 -0)📝
lang/en/exceptions.php(+3 -0)📝
routes/api-application.php(+23 -0)📝
tests/Integration/Api/Application/ApplicationApiIntegrationTestCase.php(+1 -0)📄 Description
Closes #130
Adds the following new endpoints to the application api:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.