API uç noktası:
https://panel.netmedya.net.tr/api/v1/websites
Talep Örneği:
curl --location --request GET 'https://panel.netmedya.net.tr/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
domain
için İhtisas. Varsayılan domain
.sort_by
id
için Oluşturulan tarih, domain
için İhtisas. Varsayılan id
.sort
desc
için Azalan, asc
için Yükselen. Varsayılan desc
.per_page
10
, 25
, 50
, 100
. Varsayılan 10
.API uç noktası:
https://panel.netmedya.net.tr/api/v1/websites/{id}
Talep Örneği:
curl --location --request GET 'https://panel.netmedya.net.tr/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API uç noktası:
https://panel.netmedya.net.tr/api/v1/websites
Talep Örneği:
curl --location --request POST 'https://panel.netmedya.net.tr/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'domain={domain}'
domain
privacy
0
için Halk, 1
için Özel, 2
için Şifre. Varsayılan 1
.password
2
.email
0
için Engelli, 1
için Etkinleştirilmiş. Varsayılan 0
.exclude_bots
0
için Engelli, 1
için Etkinleştirilmiş. Varsayılan 1
.exclude_params
exclude_ips
API uç noktası:
https://panel.netmedya.net.tr/api/v1/websites/{id}
Talep Örneği:
curl --location --request PUT 'https://panel.netmedya.net.tr/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
0
için Halk, 1
için Özel, 2
için Şifre.password
2
.email
0
için Engelli, 1
için Etkinleştirilmiş.exclude_bots
0
için Engelli, 1
için Etkinleştirilmiş.exclude_params
exclude_ips
API uç noktası:
https://panel.netmedya.net.tr/api/v1/websites/{id}
Talep Örneği:
curl --location --request DELETE 'https://panel.netmedya.net.tr/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'