certs_renew API no longer working?
Solved
Support
-
I'm getting error:
Cannot POST /api/v1/cloudron/renew_certs
when I docurl -k -X POST -H 'Content-Type: application/json' -H "authorization: Bearer $token" --data '{}' https://$dns_host_name/api/v1/cloudron/renew_certs
as adviced here earlier.I understand that means I'm affected by the API change.
But I have two questions:
- what is the new API?
- how do I get to know in advance about the API change? That breaks my automations... =(
-
From https://docs.cloudron.io/api.html#tag/Reverse-Proxy/operation/renewCerts:
curl -H "Content-Type: application/json" -H "Authorization: Bearer $CLOUDRON_TOKEN" "https://$CLOUDRON_DOMAIN/api/v1/reverseproxy/trusted_ips"
Looks different.
-
-
-
@potemkin_ai said in certs_renew API no longer working?:
how do I get to know in advance about the API change? That breaks my automations... =(
We are rewriting the API docs, so it can become more stable. Once we have proper docs, we won't change them since people rely on them.
-
Thanks, everyone!