Thomas Lamprecht
b2eec1b652
api: version: only include the console option of the datacenter config
...
Especially with the new description the result can get quite huge and
we do not really require any other info, the console one is only
returned here anyway as a hack due to the dc config API path requires
higher privileges.
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2021-11-10 17:26:52 +01:00
Fabian Grünbichler
3ac3653e63
use PVE::DataCenterConfig
...
to make sure that the corresponding cfs_read_file works() works.
Signed-off-by: Fabian Grünbichler <f.gruenbichler@proxmox.com>
2019-11-18 12:25:35 +01:00
Thomas Lamprecht
94d7d5acfb
api2: dust off root API module a little bit
...
trailing whitespace cleanup and fix the code methods signatures (no
response anymore)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
2019-08-22 14:07:47 +02:00
Dietmar Maurer
24673f1dcd
API: return correct version (instead of 4.0Beta)
2015-10-02 11:37:08 +02:00
Dietmar Maurer
3fd49cf78e
use pvetest repository for beta release
2015-06-16 12:27:35 +02:00
Dietmar Maurer
7e73c93e55
new html formatter PVE::API2::Formatter::HTML
...
This one provides a login page and uses bootstrap for html.
2014-05-02 11:36:11 +02:00
Dietmar Maurer
ed2cd21059
split out formatter code
2014-05-02 11:35:02 +02:00
Dietmar Maurer
6fcbe87a35
fix typo
2014-05-02 07:10:29 +02:00
Dietmar Maurer
1370ec6145
move formater registration to HTTPServer
2014-05-02 07:03:12 +02:00
Dietmar Maurer
3ed610334e
add generic formater support
2014-04-30 15:28:30 +02:00
Dietmar Maurer
2d802f8c3b
include spiceterm
2013-12-10 07:35:57 +01:00
Dietmar Maurer
0c308a030e
remove apache2 dependency
...
And add init.d script for pveproxy.
2013-04-09 12:31:14 +02:00
Dietmar Maurer
f16eb02dea
moved Pool.pm from AccessControl.pm
2012-01-27 08:39:46 +01:00
Dietmar Maurer
8747a9ece5
add API to query version info
...
Normaly all nodes should have the same version, so /api2/json/version is
good enough for most situations. But you can also query the version on
each node using /api2/json/nodes/{node}/version
2011-12-20 07:04:39 +01:00
Dietmar Maurer
beb651ee65
removed automake/autoconf, removed unused files
2011-08-23 16:11:04 +02:00