Skip to content

Commit

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

The following keys were added:
- resources.webfonts.methods.list.parameters.category.description
- resources.webfonts.methods.list.parameters.category.location
- resources.webfonts.methods.list.parameters.category.type
  • Loading branch information
yoshi-automation authored and sofisl committed Jan 29, 2025
1 parent 9d27f95 commit 4bf4239
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
7 changes: 6 additions & 1 deletion discovery/webfonts-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,11 @@
"repeated": true,
"type": "string"
},
"category": {
"description": "Filters by Webfont.category, if category is found in Webfont.categories. If not set, returns all families.",
"location": "query",
"type": "string"
},
"family": {
"description": "Filters by Webfont.family, using literal match. If not set, returns all families",
"location": "query",
Expand Down Expand Up @@ -161,7 +166,7 @@
}
}
},
"revision": "20240528",
"revision": "20250121",
"rootUrl": "https://webfonts.googleapis.com/",
"schemas": {
"Axis": {
Expand Down
4 changes: 4 additions & 0 deletions src/apis/webfonts/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -300,6 +300,10 @@ export namespace webfonts_v1 {
* Controls the font urls in `Webfont.files`, by default, static ttf fonts are sent.
*/
capability?: string[];
/**
* Filters by Webfont.category, if category is found in Webfont.categories. If not set, returns all families.
*/
category?: string;
/**
* Filters by Webfont.family, using literal match. If not set, returns all families
*/
Expand Down

0 comments on commit 4bf4239

Please sign in to comment.