Rest API: Docu seems not correct for "Initial DNS Setup"
Solved
Support
-
- Plz check Initial DNS Setup documentation
dnsConfig
seems wrong in request schema and given example. should be imhodomainConfig
Working JSON payload example (cloudron 7.4.2) for local development:
{ "domainConfig": { "provider": "noop", "domain": "dev.local", "config": { "token": "" } } }
Plz verify and update documentation.
-
@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.
-
-