mirror of
https://github.com/sibprogrammer/owp.git
synced 2026-04-25 07:25:53 +03:00
[PR #53] [CLOSED] Add api endpoints #72
Labels
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/owp#72
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
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/sibprogrammer/owp/pull/53
Author: @punkeel
Created: 2/12/2015
Status: ❌ Closed
Base:
master← Head:add_api_endpoints📝 Commits (4)
d20ab08Add API to manage backups and get stats of a virtual serverac8b915Fix quotes567821aAdd API endpoint /api/virtual_servers/reinstall5fbd145Fix formating📊 Changes
2 files changed (+201 additions, -1 deletions)
View changed files
➕
app/controllers/api/backups_controller.rb(+118 -0)📝
app/controllers/api/virtual_servers_controller.rb(+83 -1)📄 Description
This patch adds API endpoints to manage backups (/api/backup/{list, list_data, create, delete, restore}
and fetch status of a virtual server (/api/virtual_servers/{get_stats?id=X, reinstall})
Arguments for backups/create are:
Arguments for
backups/deleteare:Arguments for
backups/restoreare:Arguments for
/virtual_servers/reinstallare:Fixes #51
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.