Websites
GET https://sitealyse.de/api/websites/
curl --request GET \
--url 'https://sitealyse.de/api/websites/' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://sitealyse.de/api/websites/' \
--header 'Authorization: Bearer {api_key}' \
Parameter | Details | Beschreibung |
---|---|---|
page | Optional Ganzzahl | Die Seitennummer, ab der Sie Ergebnisse wünschen. Der Standardwert ist 1 . |
results_per_page | Optional Ganzzahl | Wie viele Ergebnisse Sie pro Seite wünschen. Erlaubte Werte sind: 10 , 25 , 50 , 100 , 250 , 500 , 1000 . Standardwert ist 25 . |
{
"data": [
{
"id": 1,
"pixel_key": "1234567890123456",
"name": "Localhost",
"scheme": "https://",
"host": "example.com",
"path": "/",
"tracking_type": "normal",
"excluded_ips": "",
"events_children_is_enabled": false,
"sessions_replays_is_enabled": false,
"email_reports_is_enabled": false,
"email_reports_last_date": "2020-06-23 19:01:22",
"bot_exclusion_is_enabled": true,
"query_parameters_tracking_is_enabled": true,
"ip_storage_is_enabled": false,
"public_statistics_is_enabled": false,
"public_statistics_password": false,
"is_enabled": true,
"datetime": "2019-11-01 12:00:30"
"last_datetime": null
},
],
"meta": {
"page": 1,
"results_per_page": 25,
"total": 1,
"total_pages": 1
},
"links": {
"first": "https://sitealyse.de/api/websites?&page=1",
"last": "https://sitealyse.de/api/websites?&page=1",
"next": null,
"prev": null,
"self": "https://sitealyse.de/api/websites?&page=1"
}
}
GET https://sitealyse.de/api/websites/{website_id}
curl --request GET \
--url 'https://sitealyse.de/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://sitealyse.de/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
{
"data": {
"id": 1,
"pixel_key": "1234567890123456",
"name": "Localhost",
"scheme": "https://",
"host": "example.com",
"path": "/",
"tracking_type": "normal",
"excluded_ips": "",
"events_children_is_enabled": false,
"sessions_replays_is_enabled": false,
"email_reports_is_enabled": false,
"email_reports_last_date": "2020-06-23 19:01:22",
"bot_exclusion_is_enabled": true,
"query_parameters_tracking_is_enabled": true,
"ip_storage_is_enabled": false,
"public_statistics_is_enabled": false,
"public_statistics_password": false,
"is_enabled": true,
"datetime": "2019-11-01 12:00:30"
"last_datetime": null
}
}
POST https://sitealyse.de/api/websites
Parameter | Details | Beschreibung |
---|---|---|
name | Erforderlich Zeichenkette | - |
scheme | Optional Zeichenkette | Erlaubte Werte: http:// , https:// |
host | Erforderlich Zeichenkette | Website-Host & Pfad. Beispiel: https://example.com/path . |
tracking_type | Optional Zeichenkette | Erlaubte Werte: lightweight , normal |
excluded_ips | Optional Zeichenkette | IPs von der Verfolgung ausschließen. Geben Sie kommagetrennte Werte ein. |
events_children_is_enabled | Optional Boolescher | Verfolgt Besucherereignisse (Mausklicks, Größenänderungen, Scrollen, Formularabgaben). Erlaubte Werte sind: 0 oder 1 . Nur verfügbar für normalen Tracking-Typ. |
sessions_replays_is_enabled | Optional Boolescher | Sitzungswiederholungen. Erlaubte Werte sind: 0 oder 1 . Nur verfügbar für normalen Verfolgungstyp. |
email_reports_is_enabled | Optional Boolescher | E-Mail-Berichte. Erlaubte Werte sind: 0 oder 1 . |
ip_storage_is_enabled | Optional Boolescher | Verfügbar wenn: tracking_type = normal |
query_parameters_tracking_is_enabled | Optional Boolescher | - |
bot_exclusion_is_enabled | Optional Boolescher | - |
public_statistics_is_enabled | Optional Boolescher | - |
public_statistics_password | Optional Zeichenkette | - |
is_enabled | Optional Boolescher | Status der Website-Verfolgung. Erlaubte Werte sind: 0 oder 1 . |
curl --request POST \
--url 'https://sitealyse.de/api/websites' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=website.com' \
--form 'name=Example' \
--url 'https://sitealyse.de/api/websites' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'host=website.com' \
--form 'name=Example' \
{
"data": {
"id": 1
}
}
POST https://sitealyse.de/api/websites/{website_id}
Parameter | Details | Beschreibung |
---|---|---|
name | Optional Zeichenkette | - |
scheme | Optional Zeichenkette | Erlaubte Werte: http:// , https:// |
host | Optional Zeichenkette | Website-Host & Pfad. Beispiel: https://example.com/path . |
excluded_ips | Optional Zeichenkette | IPs von der Verfolgung ausschließen. Geben Sie kommagetrennte Werte ein. |
events_children_is_enabled | Optional Boolescher | Verfolgt Besucherereignisse (Mausklicks, Größenänderungen, Scrollen, Formularabgaben). Erlaubte Werte sind: 0 oder 1 . Nur verfügbar für normalen Tracking-Typ. |
sessions_replays_is_enabled | Optional Boolescher | Sitzungswiederholungen. Erlaubte Werte sind: 0 oder 1 . Nur verfügbar für normalen Verfolgungstyp. |
email_reports_is_enabled | Optional Boolescher | E-Mail-Berichte. Erlaubte Werte sind: 0 oder 1 . |
ip_storage_is_enabled | Optional Boolescher | Verfügbar wenn: tracking_type = normal |
query_parameters_tracking_is_enabled | Optional Boolescher | - |
bot_exclusion_is_enabled | Optional Boolescher | - |
public_statistics_is_enabled | Optional Boolescher | - |
public_statistics_password | Optional Zeichenkette | - |
is_enabled | Optional Boolescher | Status der Website-Verfolgung. Erlaubte Werte sind: 0 oder 1 . |
curl --request POST \
--url 'https://sitealyse.de/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'is_enabled=0' \
--url 'https://sitealyse.de/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--header 'Content-Type: multipart/form-data' \
--form 'name=Example' \
--form 'is_enabled=0' \
{
"data": {
"id": 1
}
}
DELETE https://sitealyse.de/api/websites/{website_id}
curl --request DELETE \
--url 'https://sitealyse.de/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \
--url 'https://sitealyse.de/api/websites/{website_id}' \
--header 'Authorization: Bearer {api_key}' \