Berichte

Anmerkungen
Expert level
Der API-Schlüssel sollte als Bearer-Token im Authorization-Header der Anfrage gesendet werden. API Schlüssel anfordern.
Liste

API endpoint:

GET
https://handyweb.tools/api/v1/reports

Beispiel für eine XML-Anforderung:

curl --location --request GET 'https://handyweb.tools/api/v1/reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parameter
Typ
Beschreibung
search
optional string
Die Suchanfrage
search_by
optional string
Suche nach. Mögliche Werte sind: url für URL. Der Standardwert ist: url.
project
optional string
Der Projektname.
result
optional string
The report result. Mögliche Werte sind: good für Gut, decent für Annehmbar, bad für Schlecht.
sort_by
optional string
Sortieren nach. Mögliche Werte sind: id für Erstellungsdatum, generated_at für Erstellungsdatum, url für URL, result für Ergebnis. Der Standardwert ist: id.
sort
optional string
Sortieren. Mögliche Werte sind: desc für Absteigend, asc für Aufsteigend. Der Standardwert ist: desc.
per_page
optional int
Ergebnisse pro Seite. Mögliche Werte sind: 10, 25, 50, 100. Der Standardwert ist: 10.
Anzeigen

API endpoint:

GET
https://handyweb.tools/api/v1/reports/{id}

Beispiel für eine XML-Anforderung:

curl --location --request GET 'https://handyweb.tools/api/v1/reports/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Speichern

API endpoint:

POST
https://handyweb.tools/api/v1/reports

Beispiel für eine XML-Anforderung:

curl --location --request POST 'https://handyweb.tools/api/v1/reports' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parameter
Typ
Beschreibung
url
erforderlich string
The webpage's URL.
privacy
optional integer
Report page privacy. Mögliche Werte sind: 0 für Öffentlich, 1 für Privat, 2 für Passwort. Der Standardwert ist: 1.
password
optional string
The password for the report page. Only works with privacy set to 2.
Aktualisierung

API endpoint:

PUT PATCH
https://handyweb.tools/api/v1/reports/{id}

Beispiel für eine XML-Anforderung:

curl --location --request PUT 'https://handyweb.tools/api/v1/reports/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
Parameter
Typ
Beschreibung
privacy
optional integer
Report page privacy. Mögliche Werte sind: 0 für Öffentlich, 1 für Privat, 2 für Passwort.
password
optional string
The password for the report page. Only works with privacy set to 2.
results
optional integer
Update the report results. Mögliche Werte sind: 0 für Nr., 1 für Ja. Der Standardwert ist: 0.
Löschen

API endpoint:

DELETE
https://handyweb.tools/api/v1/reports/{id}

Beispiel für eine XML-Anforderung:

curl --location --request DELETE 'https://handyweb.tools/api/v1/reports/{id}' \
--header 'Authorization: Bearer {api_key}'