نقطة نهاية API:
https://cut.sa/api/v1/domains
مثال الطلب:
curl --location --request GET 'https://cut.sa/api/v1/domains' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
name
for الأسم. Defaults to: name
.sort_by
id
for تاريخ الانشاء, name
for الأسم. Defaults to: id
.sort
desc
for تنازلي, asc
for تصاعدي. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.نقطة نهاية API:
https://cut.sa/api/v1/domains/{id}
مثال الطلب:
curl --location --request GET 'https://cut.sa/api/v1/domains/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
نقطة نهاية API:
https://cut.sa/api/v1/domains
مثال الطلب:
curl --location --request POST 'https://cut.sa/api/v1/domains' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'name={name}'
name
index_page
not_found_page
نقطة نهاية API:
https://cut.sa/api/v1/domains/{id}
مثال الطلب:
curl --location --request PUT 'https://cut.sa/api/v1/domains/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
index_page
not_found_page
نقطة نهاية API:
https://cut.sa/api/v1/domains/{id}
مثال الطلب:
curl --location --request DELETE 'https://cut.sa/api/v1/domains/{id}' \ --header 'Authorization: Bearer {api_key}'