API endpoint:
http://analytics.sendde.com/api/v1/websites
Пример запроса:
curl --location --request GET 'http://analytics.sendde.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsearch_byurl для URL. По умолчанию: url.sort_byid для Информация создана, url для URL. По умолчанию: id.sortdesc для Descending, asc для Ascending. По умолчанию: desc.per_page10, 25, 50, 100. По умолчанию: 10.API endpoint:
http://analytics.sendde.com/api/v1/websites/{id}
Пример запроса:
curl --location --request GET 'http://analytics.sendde.com/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
http://analytics.sendde.com/api/v1/websites
Пример запроса:
curl --location --request POST 'http://analytics.sendde.com/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
urlprivacy0 для Открытый, 1 для Частный, 2 для Пароль. По умолчанию: 1.passwordprivacy установлен в 2.email0 для Выключить, 1 для Включить. По умолчанию: 0.exclude_bots0 для Выключить, 1 для Включить. По умолчанию: 1.exclude_paramsexclude_ipsAPI endpoint:
http://analytics.sendde.com/api/v1/websites/{id}
Пример запроса:
curl --location --request PUT 'http://analytics.sendde.com/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy0 для Открытый, 1 для Частный, 2 для Пароль.passwordprivacy установлен в 2.email0 для Выключить, 1 для Включить.exclude_bots0 для Выключить, 1 для Включить.exclude_paramsexclude_ipsAPI endpoint:
http://analytics.sendde.com/api/v1/websites/{id}
Пример запроса:
curl --location --request DELETE 'http://analytics.sendde.com/api/v1/websites/{id}' \ --header 'Authorization: Bearer {api_key}'