Rapoarte

Notițe
Expert level
Cheia API trebuie trimisă ca un token Bearer în antetul de autorizare al cererii. Obținere cheie API.
Listă

EndPoint API:

GET
https://deepseo.ro/api/v1/reports

Exemplu solicitare:

curl --location --request GET 'https://deepseo.ro/api/v1/reports' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Parametru
Tip
Descriere
search
opțional string
Interogarea de căutare.
search_by
opțional string
Căutare după. Valorile posibile sunt: url pentru URL. Implicit la: url.
project
opțional string
Nume proiect.
result
opțional string
The report result. Valorile posibile sunt: good pentru Bun, decent pentru Decent, bad pentru Rău.
sort_by
opțional string
Filtrare după. Valorile posibile sunt: id pentru Data creării, generated_at pentru Data generării, url pentru URL, result pentru Rezultat. Implicit la: id.
sort
opțional string
Sortare. Valorile posibile sunt: desc pentru Descendent, asc pentru Ascendent. Implicit la: desc.
per_page
opțional integer
Rezultate pe pagină. Valorile posibile sunt: 10, 25, 50, 100. Implicit la: 10.
Afișare

EndPoint API:

GET
https://deepseo.ro/api/v1/reports/{id}

Exemplu solicitare:

curl --location --request GET 'https://deepseo.ro/api/v1/reports/{id}' \
--header 'Accept: application/json' \
--header 'Authorization: Bearer {api_key}'
Magazin

EndPoint API:

POST
https://deepseo.ro/api/v1/reports

Exemplu solicitare:

curl --location --request POST 'https://deepseo.ro/api/v1/reports' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}' \
--data-urlencode 'url={url}'
Parametru
Tip
Descriere
url
obligatoriu string
The webpage's URL.
privacy
opțional integer
Report page privacy. Valorile posibile sunt: 0 pentru Public, 1 pentru Privat, 2 pentru Parolă. Implicit la: 0.
password
opțional string
The password for the report page. Only works with privacy set to 2.
Actualizare

EndPoint API:

PUT PATCH
https://deepseo.ro/api/v1/reports/{id}

Exemplu solicitare:

curl --location --request PUT 'https://deepseo.ro/api/v1/reports/{id}' \
--header 'Content-Type: application/x-www-form-urlencoded' \
--header 'Authorization: Bearer {api_key}'
Parametru
Tip
Descriere
privacy
opțional integer
Report page privacy. Valorile posibile sunt: 0 pentru Public, 1 pentru Privat, 2 pentru Parolă.
password
opțional string
The password for the report page. Only works with privacy set to 2.
results
opțional integer
Update the report results. Valorile posibile sunt: 0 pentru Nu, 1 pentru Da. Implicit la: 0.
Ștergere

EndPoint API:

DELETE
https://deepseo.ro/api/v1/reports/{id}

Exemplu solicitare:

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