From: Nicolas Frey <[email protected]>
Signed-off-by: Nicolas Frey <[email protected]>
---
PVE/API2/ACMEPlugin.pm | 49 ++++++++++++++++++++++++++++++++++++++++++
1 file changed, 49 insertions(+)
diff --git a/PVE/API2/ACMEPlugin.pm b/PVE/API2/ACMEPlugin.pm
index 510101aa..b67cb1ff 100644
--- a/PVE/API2/ACMEPlugin.pm
+++ b/PVE/API2/ACMEPlugin.pm
@@ -76,6 +76,29 @@ __PACKAGE__->register_method({
type => "object",
properties => {
plugin => get_standard_option('pve-acme-pluginid'),
+ 'validation-delay' => {
+ type => 'integer',
+ description => 'Waiting period after a DNS record is
created.',
+ default => 30,
+ optional => 1
+ },
+ data => {
+ type => 'string',
+ description => 'Additional data like keys, server, url
etc.',
+ optional => 1
+ },
+ api => {
+ type => 'string',
+ description => 'One of the DNS APIs listed in
/json/cluster/challenge-schema.'
+ },
+ digest => {
+ type => 'string',
+ description => 'Digest to detect modification.'
+ },
+ type => {
+ type => 'string',
+ description => ''
+ },
},
},
links => [{ rel => 'child', href => "{plugin}" }],
@@ -113,6 +136,32 @@ __PACKAGE__->register_method({
},
returns => {
type => 'object',
+ properties => {
+ plugin => get_standard_option('pve-acme-pluginid'),
+ 'validation-delay' => {
+ type => 'integer',
+ description => 'Waiting period after a DNS record is created.',
+ default => 30,
+ optional => 1
+ },
+ data => {
+ type => 'string',
+ description => 'Additional data like keys, server, url etc.',
+ optional => 1
+ },
+ api => {
+ type => 'string',
+ description => 'One of the DNS APIs listed in
/json/cluster/challenge-schema.'
+ },
+ digest => {
+ type => 'string',
+ description => ''
+ },
+ type => {
+ type => 'string',
+ description => ''
+ },
+ },
},
code => sub {
my ($param) = @_;
--
2.47.3
_______________________________________________
pve-devel mailing list
[email protected]
https://lists.proxmox.com/cgi-bin/mailman/listinfo/pve-devel