Siteler

Notlar
Expert level
API anahtarı, isteğin Yetkilendirme başlığında Taşıyıcı belirteci olarak gönderilmelidir. API anahtarınızı alın.
Listele

API endpoint:

GET
https://yildizportal.com/api/v1/websites

Request example:

curl --location --request GET 'https://yildizportal.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parametre
Tip
Tanım
search
opsiyonel string
Arama sorgusu.
search_by
opsiyonel string
Şuna göre ara:. Possible values are: domain for Alan adı. Defaults to: domain.
sort_by
opsiyonel string
Sırala:. Possible values are: id for Tarih oluşturuldu, domain for Alan adı. Defaults to: id.
sort
opsiyonel string
Düzenlemek. Possible values are: desc for Azalan, asc for Artan. Defaults to: desc.
per_page
opsiyonel int
Sayfa başına sonuç. Possible values are: 10, 25, 50, 100. Defaults to: 10.
Göster

API endpoint:

GET
https://yildizportal.com/api/v1/websites/{id}

Request example:

curl --location --request GET 'https://yildizportal.com/api/v1/websites/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Mağaza

API endpoint:

POST
https://yildizportal.com/api/v1/websites

Request example:

curl --location --request POST 'https://yildizportal.com/api/v1/websites' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'domain={domain}'
Parametre
Tip
Tanım
domain
gerekli string
Alan adı.
privacy
opsiyonel integer
İstatistik sayfası gizliliği. Possible values are: 0 for Herkese Açık, 1 for Özel, 2 for Şifre. Defaults to: 1.
password
opsiyonel string
İstatistik sayfasının şifresi. Yalnızca privacy olarak ayarlandığında çalışır 2.
email
opsiyonel integer
Periyodik e-posta raporları. Possible values are: 0 for Pasif, 1 for Etkinleştirilmiş. Defaults to: 0.
exclude_bots
opsiyonel integer
Yaygın botları izlenmekten hariç tutun. Possible values are: 0 for Pasif, 1 for Etkinleştirilmiş. Defaults to: 1.
exclude_params
opsiyonel string
Exclude URL query parameters from being tracked. Her satıra bir tane..
exclude_ips
opsiyonel string
IP'leri izlenmekten hariç tutun. Her satıra bir tane..
Güncelle

API endpoint:

PUT PATCH
https://yildizportal.com/api/v1/websites/{id}

Request example:

curl --location --request PUT 'https://yildizportal.com/api/v1/websites/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
Parametre
Tip
Tanım
privacy
opsiyonel integer
İstatistik sayfası gizliliği. Possible values are: 0 for Herkese Açık, 1 for Özel, 2 for Şifre.
password
opsiyonel string
İstatistik sayfasının şifresi. Yalnızca privacy olarak ayarlandığında çalışır 2.
email
opsiyonel integer
Periyodik e-posta raporları. Possible values are: 0 for Pasif, 1 for Etkinleştirilmiş.
exclude_bots
opsiyonel integer
Yaygın botları izlenmekten hariç tutun. Possible values are: 0 for Pasif, 1 for Etkinleştirilmiş.
exclude_params
opsiyonel string
Exclude URL query parameters from being tracked. Her satıra bir tane..
exclude_ips
opsiyonel string
IP'leri izlenmekten hariç tutun. Her satıra bir tane..
Sil

API endpoint:

DELETE
https://yildizportal.com/api/v1/websites/{id}

Request example:

curl --location --request DELETE 'https://yildizportal.com/api/v1/websites/{id}' \
--header 'Authorization: Bearer {api_key}'