API-Endpunkt:
http://phpfk.de/api/v1/reports
Beispiel einer Anfrage::
curl --location --request GET 'http://phpfk.de/api/v1/reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
url
für URL. Standardwerte: url
.project
result
good
für Gut, decent
für OK, bad
für Schlecht.sort_by
id
für Datum der Erstellung, generated_at
für Erstellungsdatum, url
für URL, result
für Ergebnis. Standardwerte: id
.sort
desc
für Absteigend, asc
für Aufsteigend. Standardwerte: desc
.per_page
10
, 25
, 50
, 100
. Standardwerte: 10
.API-Endpunkt:
http://phpfk.de/api/v1/reports/{id}
Beispiel einer Anfrage::
curl --location --request GET 'http://phpfk.de/api/v1/reports/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API-Endpunkt:
http://phpfk.de/api/v1/reports
Beispiel einer Anfrage::
curl --location --request POST 'http://phpfk.de/api/v1/reports' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
url
privacy
0
für Öffentlich, 1
für Privat, 2
für Passwort. Standardwerte: 1
.password
privacy
set to 2
.API-Endpunkt:
http://phpfk.de/api/v1/reports/{id}
Beispiel einer Anfrage::
curl --location --request PUT 'http://phpfk.de/api/v1/reports/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
0
für Öffentlich, 1
für Privat, 2
für Passwort.password
privacy
set to 2
.results
0
für Nein, 1
für Ja. Standardwerte: 0
.API-Endpunkt:
http://phpfk.de/api/v1/reports/{id}
Beispiel einer Anfrage::
curl --location --request DELETE 'http://phpfk.de/api/v1/reports/{id}' \ --header 'Authorization: Bearer {api_key}'