Skip to content

Commit

Permalink
feat(pagespeedonline): update the API
Browse files Browse the repository at this point in the history
#### pagespeedonline:v5

The following keys were added:
- resources.pagespeedapi.methods.runpagespeed.parameters.category.enumDeprecated
- schemas.Categories.properties.pwa.deprecated

The following keys were changed:
- resources.pagespeedapi.methods.runpagespeed.parameters.category.enumDescriptions
- schemas.Categories.properties.pwa.description
  • Loading branch information
yoshi-automation committed May 13, 2024
1 parent b442320 commit 5da6634
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 4 deletions.
15 changes: 12 additions & 3 deletions discovery/pagespeedonline-v5.json
Original file line number Diff line number Diff line change
Expand Up @@ -131,12 +131,20 @@
"PWA",
"SEO"
],
"enumDeprecated": [
false,
false,
false,
false,
true,
false
],
"enumDescriptions": [
"Default UNDEFINED category.",
"Accessibility (a11y), category pertaining to a website's capacity to be accessible to all users.",
"Best Practices, category pertaining to a website's conformance to web best practice.",
"Performance, category pertaining to a website's performance.",
"Progressive Web App (PWA), category pertaining to a website's ability to be run as a PWA.",
"Progressive Web App (PWA), category pertaining to a website's ability to be run as a PWA. This is deprecated in Lighthouse's 12.0 release.",
"Search Engine Optimization (SEO), category pertaining to a website's ability to be indexed by search engines."
],
"location": "query",
Expand Down Expand Up @@ -193,7 +201,7 @@
}
}
},
"revision": "20230705",
"revision": "20240509",
"rootUrl": "https://pagespeedonline.googleapis.com/",
"schemas": {
"AuditRefs": {
Expand Down Expand Up @@ -267,7 +275,8 @@
},
"pwa": {
"$ref": "LighthouseCategoryV5",
"description": "The Progressive-Web-App (PWA) category, containing all pwa related audits."
"deprecated": true,
"description": "The Progressive-Web-App (PWA) category, containing all pwa related audits. This is deprecated in Lighthouse's 12.0 release."
},
"seo": {
"$ref": "LighthouseCategoryV5",
Expand Down
2 changes: 1 addition & 1 deletion src/apis/pagespeedonline/v5.ts
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ export namespace pagespeedonline_v5 {
*/
performance?: Schema$LighthouseCategoryV5;
/**
* The Progressive-Web-App (PWA) category, containing all pwa related audits.
* The Progressive-Web-App (PWA) category, containing all pwa related audits. This is deprecated in Lighthouse's 12.0 release.
*/
pwa?: Schema$LighthouseCategoryV5;
/**
Expand Down

0 comments on commit 5da6634

Please sign in to comment.