ډومین نومونه
GET https://uptimer24.com/api/domain-names/
curl --request GET \
--url 'https://uptimer24.com/api/domain-names/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://uptimer24.com/api/domain-names/' \
--header 'Authorization: Bearer {api_key}' \
| پیرامیټرونه | تفصیلات | تفصیل |
|---|---|---|
| search | اختیاري سټرينګ | د لټون تار. |
| search_by | اختیاري سټرينګ | تاسو د کومې برخې له مخې لټون کوئ. اجازه ورکړل شوي ارزښتونه دي: name, target. |
| is_enabled | اختیاري بولین | |
| project_id | اختیاري عدد صحیح | |
| datetime_field | اختیاري سټرينګ | اجازه ورکړل شوي ارزښتونه: datetime, last_datetime, whois_start_datetime, whois_updated_datetime, whois_end_datetime, ssl_start_datetime, ssl_end_datetime |
| datetime_start | اختیاري سټرينګ | Filter results starting from this datetime. Y-m-d H:i:s format. |
| datetime_end | اختیاري سټرينګ | Filter results up to this datetime. Y-m-d H:i:s format. |
| order_by | اختیاري سټرينګ | کومه برخه چې د پایلو د ترتیب لپاره وټاکل شي. اجازه ورکړل شوي ارزښتونه دي: domain_name_id, datetime, last_datetime, name, target, whois_start_datetime, whois_updated_datetime, whois_end_datetime, ssl_start_datetime, ssl_end_datetime. |
| order_type | اختیاري سټرينګ | د پایلو ترتیب. اجازه ورکړل شوي ارزښتونه دي: ASC د پورته ترتیب لپاره، او DESC د ښکته ترتیب لپاره. |
| page | اختیاري عدد صحیح | هغه د پاڼې شمېره چې تاسو یې پایلې غواړئ. په ډیفالټ کې 1 دی. |
| results_per_page | اختیاري عدد صحیح | تاسو په هره پاڼه کې څو پایلې غواړئ. اجازه ورکړل شوي ارزښتونه دي: 10, 25, 50, 100, 250, 500, 1000. په ډیفالټ ډول 25 ته ټاکل شوی. |
{
"data": [
{
"id": 1,
"project_id": 0,
"name": "AltumCode.Com",
"target": "altumcode.com",
"whois": {
"start_datetime": "2019-12-15 18:03:36",
"updated_datetime": "2020-05-24 15:37:15",
"end_datetime": "2022-12-15 18:03:36",
"registrar": "NAMECHEAP INC",
"nameservers": [
"ns1.digitalocean.com",
"ns2.digitalocean.com",
"ns3.digitalocean.com"
]
},
"whois_notifications": null,
"ssl": {
"organization": "Let's Encrypt",
"common_name": "R3",
"start_datetime": "2021-06-05 14:40:13",
"end_datetime": "2021-09-03 14:40:13"
},
"ssl_notifications": null,
"total_checks": 25,
"last_check_datetime": "2021-07-01 14:42:14",
"next_check_datetime": "2021-07-04 14:42:15",
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-07-19 04:05:59",
}
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://uptimer24.com/api/domain-names?page=1",
"last": "https://uptimer24.com/api/domain-names?page=1",
"next": null,
"prev": null,
"self": "https://uptimer24.com/api/domain-names?page=1"
}
}
GET https://uptimer24.com/api/domain-names/{domain_name_id}
curl --request GET \
--url 'https://uptimer24.com/api/domain-names/{domain_name_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://uptimer24.com/api/domain-names/{domain_name_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"project_id": 0,
"name": "AltumCode.Com",
"target": "altumcode.com",
"whois": {
"start_datetime": "2019-12-15 18:03:36",
"updated_datetime": "2020-05-24 15:37:15",
"end_datetime": "2022-12-15 18:03:36",
"registrar": "NAMECHEAP INC",
"nameservers": [
"ns1.digitalocean.com",
"ns2.digitalocean.com",
"ns3.digitalocean.com"
]
},
"whois_notifications": null,
"ssl": {
"organization": "Let's Encrypt",
"common_name": "R3",
"start_datetime": "2021-06-05 14:40:13",
"end_datetime": "2021-09-03 14:40:13"
},
"ssl_notifications": null,
"total_checks": 25,
"last_check_datetime": "2021-07-01 14:42:14",
"next_check_datetime": "2021-07-04 14:42:15",
"is_enabled": true,
"last_datetime": null,
"datetime": "2026-07-19 04:05:59",
}
}
POST https://uptimer24.com/api/domain-names
| پیرامیټرونه | تفصیلات | تفصیل |
|---|---|---|
| name | ضروري سټرينګ | - |
| target | ضروري سټرينګ | - |
| project_id | اختیاري عدد صحیح | - |
| whois_notifications | اختیاري ارایه | د خبرتیا اداره کوونکي پېژندونکي |
| whois_notifications_timing | اختیاري عدد صحیح | اجازه ورکړل شوي ارزښتونه: 1, 2, 3, 7, 14, 30, 60 (ورځې) |
| ssl_notifications | اختیاري ارایه | د خبرتیا اداره کوونکي پېژندونکي |
| ssl_notifications_timing | اختیاري عدد صحیح | اجازه ورکړل شوي ارزښتونه: 1, 2, 3, 7, 14, 30, 60 (ورځې) |
| is_enabled | اختیاري بولین | - |
curl --request POST \
--url 'https://uptimer24.com/api/domain-names' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'target=example.com' \
--url 'https://uptimer24.com/api/domain-names' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'target=example.com' \
{
"data": {
"id": 1
}
}
POST https://uptimer24.com/api/domain-names/{domain_name_id}
| پیرامیټرونه | تفصیلات | تفصیل |
|---|---|---|
| name | اختیاري سټرينګ | - |
| target | اختیاري سټرينګ | - |
| project_id | اختیاري عدد صحیح | - |
| whois_notifications | اختیاري ارایه | د خبرتیا اداره کوونکي پېژندونکي |
| whois_notifications_timing | اختیاري عدد صحیح | اجازه ورکړل شوي ارزښتونه: 1, 2, 3, 7, 14, 30, 60 (ورځې) |
| ssl_notifications | اختیاري ارایه | د خبرتیا اداره کوونکي پېژندونکي |
| ssl_notifications_timing | اختیاري عدد صحیح | اجازه ورکړل شوي ارزښتونه: 1, 2, 3, 7, 14, 30, 60 (ورځې) |
| is_enabled | اختیاري بولین | - |
curl --request POST \
--url 'https://uptimer24.com/api/domain-names/{domain_name_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--url 'https://uptimer24.com/api/domain-names/{domain_name_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
{
"data": {
"id": 1
}
}
DELETE https://uptimer24.com/api/domain-names/{domain_name_id}
curl --request DELETE \
--url 'https://uptimer24.com/api/domain-names/{domain_name_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://uptimer24.com/api/domain-names/{domain_name_id}' \
--header 'Authorization: Bearer {api_key}' \