API-eindpunt:
https://analytics.spesh.nl/api/v1/websites
Voorbeeldverzoek:
curl --location --request GET 'https://analytics.spesh.nl/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
domain
voor Domein. Standaard ingesteld op: domain
.favorite
sort_by
id
voor Aanmaakdatum, domain
voor Domein. Standaard ingesteld op: id
.sort
desc
voor Aflopend, asc
voor Oplopend. Standaard ingesteld op: desc
.per_page
10
, 25
, 50
, 100
. Standaard ingesteld op: 10
.API-eindpunt:
https://analytics.spesh.nl/api/v1/websites/{id}
Voorbeeldverzoek:
curl --location --request GET 'https://analytics.spesh.nl/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API-eindpunt:
https://analytics.spesh.nl/api/v1/websites
Voorbeeldverzoek:
curl --location --request POST 'https://analytics.spesh.nl/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'domain={domain}'
domain
privacy
0
voor Openbaar, 1
voor Privé, 2
voor Wachtwoord. Standaard ingesteld op: 0
.password
privacy
ingesteld op 2
.email
0
voor Uitgeschakeld, 1
voor Ingeschakeld. Standaard ingesteld op: 0
.exclude_bots
0
voor Uitgeschakeld, 1
voor Ingeschakeld. Standaard ingesteld op: 1
.exclude_params
exclude_ips
API-eindpunt:
https://analytics.spesh.nl/api/v1/websites/{id}
Voorbeeldverzoek:
curl --location --request PUT 'https://analytics.spesh.nl/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
0
voor Openbaar, 1
voor Privé, 2
voor Wachtwoord.password
privacy
ingesteld op 2
.email
0
voor Uitgeschakeld, 1
voor Ingeschakeld.exclude_bots
0
voor Uitgeschakeld, 1
voor Ingeschakeld.exclude_params
exclude_ips
favorite
API-eindpunt:
https://analytics.spesh.nl/api/v1/websites/{id}
Voorbeeldverzoek:
curl --location --request DELETE 'https://analytics.spesh.nl/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'