Skip to content

Commit 57f4a91

Browse files
feat(webfonts): update the api
#### webfonts:v1 The following keys were added: - resources.webfonts.methods.list.parameters.category (Total Keys: 2)
1 parent f0f2305 commit 57f4a91

File tree

2 files changed

+9
-3
lines changed

2 files changed

+9
-3
lines changed

docs/dyn/webfonts_v1.webfonts.html

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -78,7 +78,7 @@ <h2>Instance Methods</h2>
7878
<code><a href="#close">close()</a></code></p>
7979
<p class="firstline">Close httplib2 connections.</p>
8080
<p class="toc_element">
81-
<code><a href="#list">list(capability=None, family=None, sort=None, subset=None, x__xgafv=None)</a></code></p>
81+
<code><a href="#list">list(capability=None, category=None, family=None, sort=None, subset=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Retrieves the list of fonts currently served by the Google Fonts Developer API.</p>
8383
<h3>Method Details</h3>
8484
<div class="method">
@@ -87,7 +87,7 @@ <h3>Method Details</h3>
8787
</div>
8888

8989
<div class="method">
90-
<code class="details" id="list">list(capability=None, family=None, sort=None, subset=None, x__xgafv=None)</code>
90+
<code class="details" id="list">list(capability=None, category=None, family=None, sort=None, subset=None, x__xgafv=None)</code>
9191
<pre>Retrieves the list of fonts currently served by the Google Fonts Developer API.
9292

9393
Args:
@@ -96,6 +96,7 @@ <h3>Method Details</h3>
9696
CAPABILITY_UNSPECIFIED - Default means static ttf fonts.
9797
WOFF2 - Use WOFF2(Compressed)instead of ttf.
9898
VF - Prefer variable font files instead of static fonts instantiated at standard weights.
99+
category: string, Filters by Webfont.category, if category is found in Webfont.categories. If not set, returns all families.
99100
family: string, Filters by Webfont.family, using literal match. If not set, returns all families (repeated)
100101
sort: string, Enables sorting of the list.
101102
Allowed values

googleapiclient/discovery_cache/documents/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": "20240703",
169+
"revision": "20250121",
165170
"rootUrl": "https://webfonts.googleapis.com/",
166171
"schemas": {
167172
"Axis": {

0 commit comments

Comments
 (0)