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


Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Bookmarks
  • Search
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
Brand Logo

Cloudron Forum

Apps | Demo | Docs | Install
  1. Cloudron Forum
  2. Support
  3. certs_renew API no longer working?

certs_renew API no longer working?

Scheduled Pinned Locked Moved Solved Support
reverseproxyapi
5 Posts 3 Posters 646 Views 3 Watching
  • 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 on 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 on 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 Offline
        girishG Offline
        girish
        Staff
        wrote on 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 on
        • girishG girish has marked this topic as solved on
        • potemkin_aiP potemkin_ai

          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 Offline
          girishG Offline
          girish
          Staff
          wrote on 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 on last edited by
            #5

            Thanks, everyone!

            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

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