Data API / DataForSEO / On Page
Lighthouse versions supported in OnPage API
The Lighthouse versions available, as availible_versions with version and default - note upstream's spelling of that key. Pass one to version on the audit endpoints when a run has to be reproducible; otherwise the default moves as Lighthouse releases.
Параметры
Параметров пути, запроса и заголовков нет.
Пример запроса
curl -X GET "https://openapi.felo.ai/v1/beta/dataforseo/on_page/lighthouse/versions" \
-H "Authorization: Bearer $FELO_API_KEY"Ответ
Поля ответа
versionstringНеобязательныйthe current version of the API
status_codeintegerНеобязательныйgeneral status code you can find the full list of the response codes here Note: we strongly recommend designing a necessary system for handling related exceptional or error conditions
status_messagestringНеобязательныйgeneral informational message you can find the full list of general informational messages here
timestringНеобязательныйexecution time, seconds
costnumberНеобязательныйtotal tasks cost, USD
tasks_countintegerНеобязательныйthe number of tasks in the tasks array
tasks_errorintegerНеобязательныйthe number of tasks in the tasks array returned with an error
tasksstring[]Необязательныйarray of tasks
idstringНеобязательныйtask identifier unique task identifier in our system in the UUID format
status_codeintegerНеобязательныйstatus code of the task generated by DataForSEO; can be within the following range: 10000-60000 you can find the full list of the response codes here
status_messagestringНеобязательныйinformational message of the task you can find the full list of general informational messages here
timestringНеобязательныйexecution time, seconds
costnumberНеобязательныйcost of the task, USD
result_countintegerНеобязательныйnumber of elements in the result array
pathstring[]НеобязательныйURL path
dataobjectНеобязательныйcontains the same parameters that you specified in the POST request
resultstring[]Необязательныйarray of results
available_versionsstring[]Необязательныйthe list of supported lighthouse versions an array contains objects with the version number and a boolean indicating whether the version is used by default Note: you can specify the version in the POST request to the OnPage Lighthouse API
versionstringНеобязательныйlighthouse version
defaultbooleanНеобязательныйthe version is used by default if false, the version is not used by default and should be specified in the corresponding field of the POST request if necessary