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. Rest API: Docu seems not correct for "Initial DNS Setup"

Rest API: Docu seems not correct for "Initial DNS Setup"

Scheduled Pinned Locked Moved Solved Support
bugrestapisetup
3 Posts 2 Posters 436 Views 2 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.
    • Q Offline
      Q Offline
      Quhu
      wrote on last edited by
      #1
      • Plz check Initial DNS Setup documentation
      • dnsConfig seems wrong in request schema and given example. should be imho domainConfig

      Working JSON payload example (cloudron 7.4.2) for local development:

      {
        "domainConfig": {
          "provider": "noop",
          "domain": "dev.local",
          "config": {
            "token": ""
          }
        }
      }
      

      Plz verify and update documentation.

      girishG 1 Reply Last reply
      2
      • Q Quhu
        • Plz check Initial DNS Setup documentation
        • dnsConfig seems wrong in request schema and given example. should be imho domainConfig

        Working JSON payload example (cloudron 7.4.2) for local development:

        {
          "domainConfig": {
            "provider": "noop",
            "domain": "dev.local",
            "config": {
              "token": ""
            }
          }
        }
        

        Plz verify and update documentation.

        girishG Offline
        girishG Offline
        girish
        Staff
        wrote on last edited by
        #2

        @Quhu thanks. Unfortunately, the API docs always lag a bit...

        For the future:

        • Check the browser network tab 🙂
        • https://git.cloudron.io/cloudron/box/-/blob/master/dashboard/src/js/client.js has the API calls with arguments
        • https://git.cloudron.io/cloudron/cloudron-cli/-/blob/master/src/actions.js is another place for API calls.
        1 Reply Last reply
        0
        • Q Offline
          Q Offline
          Quhu
          wrote on last edited by
          #3

          @girish thanks for pointing out to code.

          As always:
          In vino veritas - and in Source-Code

          1 Reply Last reply
          0
          • girishG girish marked this topic as a question on
          • girishG girish has marked this topic as solved on
          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