API endpoint:
http://analytics.pixup.ch/api/v1/websites
Exemple de requête:
curl --location --request GET 'http://analytics.pixup.ch/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
domain
pour Domaine. La valeur par défaut est: domain
.sort_by
id
pour Date de création, domain
pour Domaine. La valeur par défaut est: id
.sort
desc
pour Descendant, asc
pour Ascendant. La valeur par défaut est: desc
.per_page
10
, 25
, 50
, 100
. La valeur par défaut est: 10
.API endpoint:
http://analytics.pixup.ch/api/v1/websites/{id}
Exemple de requête:
curl --location --request GET 'http://analytics.pixup.ch/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
http://analytics.pixup.ch/api/v1/websites
Exemple de requête:
curl --location --request POST 'http://analytics.pixup.ch/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'domain={domain}'
domain
privacy
0
pour Public, 1
pour Privé, 2
pour Mot de passe. La valeur par défaut est: 1
.password
privacy
a pour valeur 2
.email
0
pour Désactivé, 1
pour Activé. La valeur par défaut est: 0
.exclude_bots
0
pour Désactivé, 1
pour Activé. La valeur par défaut est: 1
.exclude_params
exclude_ips
API endpoint:
http://analytics.pixup.ch/api/v1/websites/{id}
Exemple de requête:
curl --location --request PUT 'http://analytics.pixup.ch/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
0
pour Public, 1
pour Privé, 2
pour Mot de passe.password
privacy
a pour valeur 2
.email
0
pour Désactivé, 1
pour Activé.exclude_bots
0
pour Désactivé, 1
pour Activé.exclude_params
exclude_ips
API endpoint:
http://analytics.pixup.ch/api/v1/websites/{id}
Exemple de requête:
curl --location --request DELETE 'http://analytics.pixup.ch/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'