GIF89a
API endpoint:
https://analytics.mtdgrafx.com/api/v1/websites
Request example:
curl --location --request GET 'https://analytics.mtdgrafx.com/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
searchsortdesc for Z-A, asc for A-Z.per_page10 to 100. Defaults to: 10.API endpoint:
https://analytics.mtdgrafx.com/api/v1/websites/{id}
Request example:
curl --location --request GET 'https://analytics.mtdgrafx.com/api/v1/websites/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://analytics.mtdgrafx.com/api/v1/websites
Request example:
curl --location --request POST 'https://analytics.mtdgrafx.com/api/v1/websites' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
urlprivacy0 for Public, 1 for Private, 2 for Password. Defaults to: 1.passwordprivacy set to 2.email0 for Disabled, 1 for Enabled. Defaults to: 0.exclude_bots0 for Disabled, 1 for Enabled. Defaults to: 1.exclude_paramsexclude_ipsAPI endpoint:
https://analytics.mtdgrafx.com/api/v1/websites/{id}
Request example:
curl --location --request PUT 'https://analytics.mtdgrafx.com/api/v1/websites/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
privacy0 for Public, 1 for Private, 2 for Password.passwordprivacy set to 2.email0 for Disabled, 1 for Enabled.exclude_bots0 for Disabled, 1 for Enabled.exclude_paramsexclude_ipsAPI endpoint:
https://analytics.mtdgrafx.com/websites/{id}/destroy
Request example:
curl --location --request DELETE 'https://analytics.mtdgrafx.com/websites/{id}/destroy' \ --header 'Authorization: Bearer {api_key}'