Get the available record types you can set up.
Name | Data Type | Status | Description |
auth-id or sub-auth-id or sub-auth-user | Integer | Required | Authentication parameter |
auth-password | String | Required | Authentication parameter |
zone-type | String | Required |
The type of the zone: domain, reverse or parked |
When the authenctication of API user is not correct, any API request will fail with the following status and statusDescription:
{"status":"Failed","statusDescription":"Invalid authentication, incorrect auth-id or auth-password."}
In case the credentials of API sub user are invalid, the following status and statusDescription will be returned:
{"status":"Failed","statusDescription":"Invalid authentication, incorrect sub-auth-id, sub-auth-user or auth-password."}
When zone-type parameter is not from the suggested zone types, the API request will fail and the following status and statusDescription will be returned:
{"status":"Failed","statusDescription":"Missing or invalid zone-type"}
Note: These are example errors in JSON format.
URL JSON: https://api.cloudns.net/dns/get-available-record-types.json
POST/GET: auth-id=0&auth-password=password&zone-type=domain
POST/GET: sub-auth-id=0&auth-password=password&zone-type=domain
URL XML: https://api.cloudns.net/dns/get-available-record-types.xml
POST/GET: auth-id=0&auth-password=password&zone-type=domain
POST/GET: sub-auth-id=0&auth-password=password&zone-type=domain