数据 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