proxmox-backup/proxmox-rest-server
Dominik Csapak 20def38e96 examples: add example for a simple rest server with a small api
show how to generally start a daemon that serves a rest api + index page

api calls are (prefixed with either /api2/json or /api2/extjs):
/		GET	listing
/ping		GET	returns "pong"
/items		GET	lists existing items
		POST	lets user create new items
/items/{id}	GET	returns the content of a single item
		PUT	updates an item
		DELETE	deletes an item

Contains a small dummy user/authinfo

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-09-29 09:48:47 +02:00
..
examples examples: add example for a simple rest server with a small api 2021-09-29 09:48:47 +02:00
src rest-server: use hypers AddrIncoming for proxmox-backup-api 2021-09-29 09:38:40 +02:00
Cargo.toml examples: add example for a simple rest server with a small api 2021-09-29 09:48:47 +02:00