Commit Graph

16 Commits

Author SHA1 Message Date
816c5a2c9e add start script and sample systemd service
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:58:22 +00:00
a716e7efab add disk attach,
add disk delete

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-10 21:41:36 +00:00
00fe6c57a5 implement POST /api/disk/move
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-02-02 19:34:51 +00:00
b10c30e937 implement resize endpoint
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-30 23:19:24 +00:00
033ac452c3 fix detach disk endpoint for lxc 2023-01-26 07:53:56 +00:00
41ac95d16f implement disk detach 2023-01-25 02:01:47 +00:00
5b5fc2b930 add detach disk path,
add pveAPIToken config item
2023-01-25 00:48:15 +00:00
85d57b361b add vars.js.template,
use vars config items in api
2023-01-25 00:28:44 +00:00
e133971911 add auth path, add token to requestPVE
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-24 20:18:29 +00:00
49e44d776d add headers and status to response 2023-01-22 23:17:38 +00:00
73860cbb2c sample code for interfacing with proxmox api 2023-01-20 06:40:21 +00:00
a6b8ecf133 add echo path,
add cookie-parser to requirements

Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 20:22:26 +00:00
abefd36391 update README.md
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-19 19:50:01 +00:00
8e1bf19d90 add simple version route
Signed-off-by: Arthur Lu <learthurgo@gmail.com>
2023-01-17 15:46:42 -08:00
ae0c197821 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
d6af5518de 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