|
#All further actions require the user data alongside with personalized bearer token in the header of the request! |
|
# Dont forget to attach the personalized token to each further request, otherwise, you will be non-authorized and be unable to perform actions. |
|
|
|
#Add your domain to ddnames database: |
|
#Route: https://ddnames.com:8000/add |
|
#request you should send within your device in JSON format: |
|
{ |
|
"email":"YourEmail", |
|
"ipaddress":"your device's ip address", |
|
"apikey":"your api key", |
|
"domain":"yourdomain.com" |
|
} |
|
#*the ipaddress should be IPv4 format: `xx.xx.xx.xx` |
|
###################################################################################### |
|
|
|
|
|
#Update your domain IP address ( dont forget to check the <Coding_Language> Apps section at ddnames.com |
|
#Route: https://ddnames.com:8000/update |
|
#request you should send within your device in JSON format: |
|
{ |
|
"email":"yourEmail", |
|
"apikey":"yourApikey", |
|
"domain":"yourDomain", |
|
"ipaddress":"device IP address" |
|
} |
|
###################################################################################### |
|
|
|
#Check your account and domains: |
|
#Route: https://ddnames.com:8000/check |
|
#request you should send within your device in JSON format: |
|
|
|
{ |
|
"email": "yourEmail", |
|
"apikey": "yourAPIKey" |
|
} |
|
|
|
#Typical answer: |
|
|
|
{ |
|
"status": "200 OK. Domains Checked", |
|
"email": "[email protected]", |
|
"apikey": "Yr15oqCRaDN", |
|
"account_type": "Trial", |
|
"domains_added": 1, |
|
"domains_names_limit": 3, |
|
"requests_made": 8, |
|
"requests_left": 2092, |
|
"requests_limit": 2100, |
|
"requests_updated_at": "2022-01-19", |
|
"created_at": "2021-12-22", |
|
"domains_remain": [ |
|
{ |
|
"domain": "bigmoneyprojects.com", |
|
"ipaddress": "101.41.1.122", |
|
"requests_made": 1, |
|
"created_at": "2021-12-22", |
|
"updated_at": "2021-12-22" |
|
} |
|
] |
|
} |
|
###################################################################################### |
|
|
|
#Delete a domain from your account: |
|
#Route: https://ddnames.com:8000/check |
|
#Request you should send within your device in JSON format: |
|
|
|
{ |
|
"email":"yourEmail", |
|
"apikey":"yourAPIKey", |
|
"domain_removed":"yourDomain" |
|
} |