Cloudron makes it easy to run web apps like WordPress, Nextcloud, GitLab on your server. Find out more or install now.


  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse

Cloudron Forum

Apps | Demo | Docs | Install

certs_renew API no longer working?

Scheduled Pinned Locked Moved Solved Support
reverseproxyapi
5 Posts 3 Posters 44 Views
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote last edited by girish
    #1

    I'm getting error: Cannot POST /api/v1/cloudron/renew_certs when I do curl -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... =(
    girishG 1 Reply Last reply
    0
  • necrevistonnezrN Offline
    necrevistonnezrN Offline
    necrevistonnezr
    wrote last edited by necrevistonnezr
    #2

    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.

    1 Reply Last reply
    0
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    wrote last edited by
    #3

    The API has changed in 7.5, the api docs atleast for this one is updated as @necrevistonnezr said.

    1 Reply Last reply
    0
  • girishG girish marked this topic as a question
  • girishG girish has marked this topic as solved
  • girishG Do not disturb
    girishG Do not disturb
    girish Staff
    replied to potemkin_ai last edited by
    #4

    @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.

    1 Reply Last reply
    0
  • potemkin_aiP Offline
    potemkin_aiP Offline
    potemkin_ai
    wrote last edited by
    #5

    Thanks, everyone!

    1 Reply Last reply
    0

  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Login

  • Don't have an account? Register

  • Login or register to search.