データ 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