certs_renew API no longer working?
-
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.
-
The API has changed in 7.5, the api docs atleast for this one is updated as @necrevistonnezr said.
-
-
-
@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!