API-endepunkt:
https://seo-analyse.no/public/api/v1/reports
Forespørseleksempel:
curl --location --request GET 'https://seo-analyse.no/public/api/v1/reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
search
search_by
url
for URL. Standardverdi: url
.project
result
good
for God, decent
for Anstendig, bad
for Dårlig.sort_by
id
for Opprettelsesdato, generated_at
for Dato generert, url
for URL, result
for Resultat. Standardverdi: id
.sort
desc
for Synkende, asc
for Stigende. Standardverdi: desc
.per_page
10
, 25
, 50
, 100
. Standardverdi: 10
.API-endepunkt:
https://seo-analyse.no/public/api/v1/reports/{id}
Forespørseleksempel:
curl --location --request GET 'https://seo-analyse.no/public/api/v1/reports/{id}' \ --header 'Accept: application/json' \ --header 'Authorization: Bearer {api_key}'
API-endepunkt:
https://seo-analyse.no/public/api/v1/reports
Forespørseleksempel:
curl --location --request POST 'https://seo-analyse.no/public/api/v1/reports' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}' \ --data-urlencode 'url={url}'
url
privacy
0
for Offentlig, 1
for Privat, 2
for Passord. Standardverdi: 0
.password
privacy
set to 2
.API-endepunkt:
https://seo-analyse.no/public/api/v1/reports/{id}
Forespørseleksempel:
curl --location --request PUT 'https://seo-analyse.no/public/api/v1/reports/{id}' \ --header 'Content-Type: application/x-www-form-urlencoded' \ --header 'Authorization: Bearer {api_key}'
privacy
0
for Offentlig, 1
for Privat, 2
for Passord.password
privacy
set to 2
.results
0
for Nei, 1
for Ja. Standardverdi: 0
.API-endepunkt:
https://seo-analyse.no/public/api/v1/reports/{id}
Forespørseleksempel:
curl --location --request DELETE 'https://seo-analyse.no/public/api/v1/reports/{id}' \ --header 'Authorization: Bearer {api_key}'