Berichte

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

API Endpunkt:

GET
https://seo.imatrix.ch/api/v1/reports

Beispiel anfordern:

curl --location --request GET 'https://seo.imatrix.ch/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. Standardmässig: url.
project
optional string
Der Projektname.
result
optional string
The report result. Mögliche Werte sind: good für Gut, decent für Anständig, bad für Schlecht.
sort_by
optional string
Sortieren nach. Mögliche Werte sind: id für Erstellungsdatum, generated_at für Erstelltes Datum, url für URL, result für Ergebnis. Standardmässig: id.
sort
optional string
Sortieren. Mögliche Werte sind: desc für Absteigend, asc für Aufsteigend. Standardmässig: desc.
per_page
optional int
Ergebnisse pro Seite. Mögliche Werte sind: 10, 25, 50, 100. Standardmässig: 25.
anzeigen

API Endpunkt:

GET
https://seo.imatrix.ch/api/v1/reports/{id}

Beispiel anfordern:

curl --location --request GET 'https://seo.imatrix.ch/api/v1/reports/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Shop

API Endpunkt:

POST
https://seo.imatrix.ch/api/v1/reports

Beispiel anfordern:

curl --location --request POST 'https://seo.imatrix.ch/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. Standardmässig: 1.
password
optional string
The password for the report page. Only works with privacy set to 2.
Update

API Endpunkt:

PUT PATCH
https://seo.imatrix.ch/api/v1/reports/{id}

Beispiel anfordern:

curl --location --request PUT 'https://seo.imatrix.ch/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 Nein, 1 für Ja. Standardmässig: 0.
löschen

API Endpunkt:

DELETE
https://seo.imatrix.ch/api/v1/reports/{id}

Beispiel anfordern:

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