api: cluster: add jobs sub-directory index and set its permissions

Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
Thomas Lamprecht 2021-11-11 21:00:08 +01:00
parent 7cced7126b
commit c20699493a
2 changed files with 2 additions and 0 deletions

View File

@ -137,6 +137,7 @@ __PACKAGE__->register_method ({
{ name => 'config' },
{ name => 'firewall' },
{ name => 'ha' },
{ name => 'jobs' },
{ name => 'log' },
{ name => 'metrics' },
{ name => 'nextid' },

View File

@ -13,6 +13,7 @@ __PACKAGE__->register_method({
path => '',
method => 'GET',
description => "Index for jobs related endpoints.",
permissions => { user => 'all' },
parameters => {
additionalProperties => 0,
properties => {},