API-eindpunt:
https://audit.webarctic.nl/api/v1/reports
Voorbeeldverzoek:
curl --location --request GET 'https://audit.webarctic.nl/api/v1/reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
url
voor URL. Standaardinstelling: url
.project
result
good
voor Goed, decent
voor Fatsoenlijk, bad
voor Slecht.sort_by
id
voor Datum aangemaakt, generated_at
voor Datum gegenereerd, url
voor URL, result
voor Resultaat. Standaardinstelling: id
.sort
desc
voor Aflopend, asc
voor Oplopend. Standaardinstelling: desc
.per_page
10
, 25
, 50
, 100
. Standaardinstelling: 50
.API-eindpunt:
https://audit.webarctic.nl/api/v1/reports/{id}
Voorbeeldverzoek:
curl --location --request GET 'https://audit.webarctic.nl/api/v1/reports/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API-eindpunt:
https://audit.webarctic.nl/api/v1/reports
Voorbeeldverzoek:
curl --location --request POST 'https://audit.webarctic.nl/api/v1/reports' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
url
privacy
0
voor Openbaar, 1
voor Privé, 2
voor Wachtwoord. Standaardinstelling: 0
.password
privacy
set to 2
.API-eindpunt:
https://audit.webarctic.nl/api/v1/reports/{id}
Voorbeeldverzoek:
curl --location --request PUT 'https://audit.webarctic.nl/api/v1/reports/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
0
voor Openbaar, 1
voor Privé, 2
voor Wachtwoord.password
privacy
set to 2
.results
0
voor Nee, 1
voor Ja. Standaardinstelling: 0
.API-eindpunt:
https://audit.webarctic.nl/api/v1/reports/{id}
Voorbeeldverzoek:
curl --location --request DELETE 'https://audit.webarctic.nl/api/v1/reports/{id}' \ --header 'Authorization: Bearer {api_key}'