Re: [Pdns-users] Unable to edit domainmetadata with API

2023-07-03 Thread Peter van Dijk via Pdns-users
On Fri, 2023-06-30 at 17:25 +0530, Shailendra Gautam via Pdns-users wrote: > Hi,  > > I'd like to edit the domain metadata SOA-EDIT-API to EPOCH but the API > doesn't allow it, however I can edit SOA-EDIT kind. Is that a bug? Both items are available on the Zone object - https://doc.powerdns.com/

Re: [Pdns-users] Unable to edit domainmetadata with API

2023-06-30 Thread Shailendra Gautam via Pdns-users
Thank you, missed it somehow. -- Thanks, SG On Fri, 30 Jun, 2023, 5:37 pm Frank Louwers, wrote: > Hi Shailendra, > > This is documented behaviour: > https://doc.powerdns.com/authoritative/domainmetadata.html states: > > The option SOA-EDIT-API can not be written or read via the HTTP API > met

Re: [Pdns-users] Unable to edit domainmetadata with API

2023-06-30 Thread Frank Louwers via Pdns-users
Hi Shailendra, This is documented behaviour: https://doc.powerdns.com/authoritative/domainmetadata.html states: The option SOA-EDIT-API can not be written or read via the HTTP API metadata endpoint. Cheers, Frank Frank Louwers PowerDNS Certified Consultant @ Kiwazo.be > On 30 Jun 2023,

[Pdns-users] Unable to edit domainmetadata with API

2023-06-30 Thread Shailendra Gautam via Pdns-users
Hi, I'd like to edit the domain metadata SOA-EDIT-API to EPOCH but the API doesn't allow it, however I can edit SOA-EDIT kind. Is that a bug? [root@sgpowerdns /]# curl -X GET http://10.10.143.64:8081/api/v1/servers/localhost/zones/test2.org./metadata [{"kind": "SOA-EDIT", "metadata": ["EPOCH"], "