Webseiten

Notes
Expert level
The API key should be sent as a Bearer token in the Authorization header of the request. Get your API key.
List

API endpoint:

GET
https://savr.de/api/v1/websites

Request example:

curl --location --request GET 'https://savr.de/api/v1/websites' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Typ
Beschreibung
search
optional string
The search query.
sort
optional string
Sortierung. Possible values are: desc for Z-A, asc for A-Z.
Show

API endpoint:

GET
https://savr.de/api/v1/websites/{id}

Request example:

curl --location --request GET 'https://savr.de/api/v1/websites/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Store

API endpoint:

POST
https://savr.de/api/v1/websites

Request example:

curl --location --request POST 'https://savr.de/api/v1/websites' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Typ
Beschreibung
url
required string
The website's URL.
password
optional string
The password for the statistics page. Only works with privacy set to 2.
privacy
optional integer
Stats page privacy. Possible values are: 0 for Öffentlich, 1 for Privat, 2 for Passwort.
email
optional integer
Regelmäßiger Berichte per E-Mail. Possible values are: 0 for Disabled, 1 for Enabled.
exclude_bots
optional integer
Schließen Sie häufige Bots vom Tracking aus. Possible values are: 0 for Disabled, 1 for Enabled.
exclude_ips
optional string
Exclude IPs from being tracked. Eine pro Zeile.
Update

API endpoint:

PUT PATCH
https://savr.de/api/v1/websites/{id}

Request example:

curl --location --request PUT 'https://savr.de/api/v1/websites/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Typ
Beschreibung
password
optional string
The password for the statistics page. Only works with privacy set to 2.
privacy
optional integer
Stats page privacy. Possible values are: 0 for Öffentlich, 1 for Privat, 2 for Passwort.
email
optional integer
Regelmäßiger Berichte per E-Mail. Possible values are: 0 for Disabled, 1 for Enabled.
exclude_bots
optional integer
Schließen Sie häufige Bots vom Tracking aus. Possible values are: 0 for Disabled, 1 for Enabled.
exclude_ips
optional string
Exclude IPs from being tracked. Eine pro Zeile.
löschen

API endpoint:

DELETE
https://savr.de/api/v1/websites/{id}

Request example:

curl --location --request DELETE 'https://savr.de/api/v1/websites/{id}' \
--header 'Authorization: Bearer {api_key}'