Skip to content

Commit 4bf4239

Browse files
yoshi-automationsofisl
authored andcommitted
feat(webfonts): update the API
#### 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
1 parent 9d27f95 commit 4bf4239

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

‎discovery/webfonts-v1.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,6 +120,11 @@
120120
"repeated": true,
121121
"type": "string"
122122
},
123+
"category": {
124+
"description": "Filters by Webfont.category, if category is found in Webfont.categories. If not set, returns all families.",
125+
"location": "query",
126+
"type": "string"
127+
},
123128
"family": {
124129
"description": "Filters by Webfont.family, using literal match. If not set, returns all families",
125130
"location": "query",
@@ -161,7 +166,7 @@
161166
}
162167
}
163168
},
164-
"revision": "20240528",
169+
"revision": "20250121",
165170
"rootUrl": "https://webfonts.googleapis.com/",
166171
"schemas": {
167172
"Axis": {

‎src/apis/webfonts/v1.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -300,6 +300,10 @@ export namespace webfonts_v1 {
300300
* Controls the font urls in `Webfont.files`, by default, static ttf fonts are sent.
301301
*/
302302
capability?: string[];
303+
/**
304+
* Filters by Webfont.category, if category is found in Webfont.categories. If not set, returns all families.
305+
*/
306+
category?: string;
303307
/**
304308
* Filters by Webfont.family, using literal match. If not set, returns all families
305309
*/

0 commit comments

Comments
 (0)