API endpoint:
https://freewebtest.com/api/v1/reports
Request example:
curl --location --request GET 'https://freewebtest.com/api/v1/reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
url
for URL. Defaults to: url
.project
result
good
for Good, decent
for Decent, bad
for Bad.sort_by
id
for Date created, generated_at
for Date generated, url
for URL, result
for Result. Defaults to: id
.sort
desc
for Descending, asc
for Ascending. Defaults to: desc
.per_page
10
, 25
, 50
, 100
. Defaults to: 10
.API endpoint:
https://freewebtest.com/api/v1/reports/{id}
Request example:
curl --location --request GET 'https://freewebtest.com/api/v1/reports/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API endpoint:
https://freewebtest.com/api/v1/reports
Request example:
curl --location --request POST 'https://freewebtest.com/api/v1/reports' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
url
privacy
0
for Public, 1
for Private, 2
for Password. Defaults to: 0
.password
privacy
set to 2
.API endpoint:
https://freewebtest.com/api/v1/reports/{id}
Request example:
curl --location --request PUT 'https://freewebtest.com/api/v1/reports/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
0
for Public, 1
for Private, 2
for Password.password
privacy
set to 2
.results
0
for No, 1
for Yes. Defaults to: 0
.API endpoint:
https://freewebtest.com/api/v1/reports/{id}
Request example:
curl --location --request DELETE 'https://freewebtest.com/api/v1/reports/{id}' \ --header 'Authorization: Bearer {api_key}'