API lõpp-punkt:
https://stat.pulss.eu/api/v1/websites
Request example:
curl --location --request GET 'https://stat.pulss.eu/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
domain
for Domeen. Defaults to: domain
.sort_by
id
for Date created, domain
for Domeen. Defaults to: id
.sort
desc
for Z-A, asc
for A-Z. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.API lõpp-punkt:
https://stat.pulss.eu/api/v1/websites/{id}
Request example:
curl --location --request GET 'https://stat.pulss.eu/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API lõpp-punkt:
https://stat.pulss.eu/api/v1/websites
Request example:
curl --location --request POST 'https://stat.pulss.eu/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'domain={domain}'
domain
privacy
0
for Avalik, 1
for Privaatne, 2
for Salasõna. Defaults to: 1
.password
privacy
set to 2
.email
0
for Väljas, 1
for Sees. Defaults to: 0
.exclude_bots
0
for Väljas, 1
for Sees. Defaults to: 1
.exclude_params
exclude_ips
API lõpp-punkt:
https://stat.pulss.eu/api/v1/websites/{id}
Request example:
curl --location --request PUT 'https://stat.pulss.eu/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
0
for Avalik, 1
for Privaatne, 2
for Salasõna.password
privacy
set to 2
.email
0
for Väljas, 1
for Sees.exclude_bots
0
for Väljas, 1
for Sees.exclude_params
exclude_ips
API lõpp-punkt:
https://stat.pulss.eu/api/v1/websites/{id}
Request example:
curl --location --request DELETE 'https://stat.pulss.eu/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'