資料 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