Dietmar Maurer
|
7e21da6e23
|
api/router.rs: allow different types of api methods
Added a prototype for file/backup uploads.
|
2019-01-14 12:26:04 +01:00 |
|
Dietmar Maurer
|
a4b7c3f2df
|
more cleanups
|
2018-12-06 10:41:57 +01:00 |
|
Dietmar Maurer
|
d3369f819d
|
code cleanup
|
2018-12-06 10:23:45 +01:00 |
|
Dietmar Maurer
|
3e1497fb75
|
remove description from ApiMethod
We use the description from parameters ObjectSchema instead.
|
2018-11-23 17:02:50 +01:00 |
|
Dietmar Maurer
|
a653882dd9
|
use ObjectSchema for parameters
Signed-off-by: Dietmar Maurer <dietmar@proxmox.com>
|
2018-11-18 08:46:26 +01:00 |
|
Dietmar Maurer
|
c548fa250a
|
router: no need to use Fn (fn also works for static closures)
|
2018-11-16 11:12:00 +01:00 |
|
Dietmar Maurer
|
e7ea17deb0
|
handle uri parameters correctly
|
2018-11-16 09:15:33 +01:00 |
|
Dietmar Maurer
|
484eb9ac19
|
Router: allow to set match parameter name
|
2018-11-16 08:29:23 +01:00 |
|
Dietmar Maurer
|
2ab1f7119c
|
Router: implement missing builder methods
|
2018-11-16 08:24:10 +01:00 |
|
Dietmar Maurer
|
fc937099b3
|
remove stale macro
|
2018-11-16 07:35:19 +01:00 |
|
Dietmar Maurer
|
fe476ce884
|
allow closure handlers
|
2018-11-15 17:47:59 +01:00 |
|
Dietmar Maurer
|
cbbeff1a6d
|
add missing file
|
2018-11-15 17:07:55 +01:00 |
|