Commit Graph

26 Commits

Author SHA1 Message Date
Arthur Lu
0cdb152a24 fix proxmox proxy post body parsing issue
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 22:34:19 +00:00
Arthur Lu
ec929d5f90 add post proxmox proxy endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 22:21:21 +00:00
Arthur Lu
6f2592dcca add no token proxmox api proxy endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 22:19:30 +00:00
Arthur Lu
f93a3726ac streamline authentication checking,
start on instance creation

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-24 00:17:28 +00:00
Arthur Lu
ab235fe581 add disk create endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-23 20:39:33 +00:00
Arthur Lu
5f1cf088a0 add instance delete path
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-21 22:35:09 +00:00
Arthur Lu
bb7660c202 add changing cpu and memory values
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-17 22:17:00 +00:00
Arthur Lu
a97811e516 improve return values 2023-02-13 04:34:07 +00:00
Arthur Lu
623b2087af add upid wait for actions which take significant time 2023-02-13 04:30:41 +00:00
Arthur Lu
b3379bfa3c add old got as dependency (is a security vulnerability),
use axios as http request handler
2023-02-13 02:11:55 +00:00
Arthur Lu
b69d248560 add start script and sample systemd service
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:58:22 +00:00
Arthur Lu
47e3cafc8b add disk attach,
add disk delete

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:41:36 +00:00
Arthur Lu
6460f6fd51 implement POST /api/disk/move
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 19:34:51 +00:00
Arthur Lu
d479879d2c implement resize endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 23:19:24 +00:00
Arthur Lu
f46c1165fa fix detach disk endpoint for lxc 2023-01-26 07:53:56 +00:00
Arthur Lu
ee7fdad946 implement disk detach 2023-01-25 02:01:47 +00:00
Arthur Lu
0131e5ef7a add detach disk path,
add pveAPIToken config item
2023-01-25 00:48:15 +00:00
Arthur Lu
5639e01815 add vars.js.template,
use vars config items in api
2023-01-25 00:28:44 +00:00
Arthur Lu
e27dd22ff6 add auth path, add token to requestPVE
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-24 20:18:29 +00:00
Arthur Lu
d9f1839aab add headers and status to response 2023-01-22 23:17:38 +00:00
Arthur Lu
f05726bc3f sample code for interfacing with proxmox api 2023-01-20 06:40:21 +00:00
Arthur Lu
5b03a331ea add echo path,
add cookie-parser to requirements

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:22:26 +00:00
Arthur Lu
ab027bf278 update README.md
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 19:50:01 +00:00
Arthur Lu
5a63b26620 add simple version route
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 15:46:42 -08:00
Arthur Lu
96133f5882 add body-parser for validation,
add cors for CORS headers,
add helmet for security,
add morgan for logging

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 15:10:11 -08:00
Arthur Lu
c3d50f6a30 add package.json,
add gitignore,
add express as dependency

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 14:57:42 -08:00