1{ 2 "basePath": "", 3 "baseUrl": "https://webfonts.googleapis.com/", 4 "batchPath": "batch", 5 "canonicalName": "Webfonts", 6 "description": "The Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.", 7 "discoveryVersion": "v1", 8 "documentationLink": "https://developers.google.com/fonts/docs/developer_api", 9 "icons": { 10 "x16": "http://www.google.com/images/icons/product/search-16.gif", 11 "x32": "http://www.google.com/images/icons/product/search-32.gif" 12 }, 13 "id": "webfonts:v1", 14 "kind": "discovery#restDescription", 15 "mtlsRootUrl": "https://webfonts.mtls.googleapis.com/", 16 "name": "webfonts", 17 "ownerDomain": "google.com", 18 "ownerName": "Google", 19 "parameters": { 20 "$.xgafv": { 21 "description": "V1 error format.", 22 "enum": [ 23 "1", 24 "2" 25 ], 26 "enumDescriptions": [ 27 "v1 error format", 28 "v2 error format" 29 ], 30 "location": "query", 31 "type": "string" 32 }, 33 "access_token": { 34 "description": "OAuth access token.", 35 "location": "query", 36 "type": "string" 37 }, 38 "alt": { 39 "default": "json", 40 "description": "Data format for response.", 41 "enum": [ 42 "json", 43 "media", 44 "proto" 45 ], 46 "enumDescriptions": [ 47 "Responses with Content-Type of application/json", 48 "Media download with context-dependent Content-Type", 49 "Responses with Content-Type of application/x-protobuf" 50 ], 51 "location": "query", 52 "type": "string" 53 }, 54 "callback": { 55 "description": "JSONP", 56 "location": "query", 57 "type": "string" 58 }, 59 "fields": { 60 "description": "Selector specifying which fields to include in a partial response.", 61 "location": "query", 62 "type": "string" 63 }, 64 "key": { 65 "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", 66 "location": "query", 67 "type": "string" 68 }, 69 "oauth_token": { 70 "description": "OAuth 2.0 token for the current user.", 71 "location": "query", 72 "type": "string" 73 }, 74 "prettyPrint": { 75 "default": "true", 76 "description": "Returns response with indentations and line breaks.", 77 "location": "query", 78 "type": "boolean" 79 }, 80 "quotaUser": { 81 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", 82 "location": "query", 83 "type": "string" 84 }, 85 "uploadType": { 86 "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", 87 "location": "query", 88 "type": "string" 89 }, 90 "upload_protocol": { 91 "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", 92 "location": "query", 93 "type": "string" 94 } 95 }, 96 "protocol": "rest", 97 "resources": { 98 "webfonts": { 99 "methods": { 100 "list": { 101 "description": "Retrieves the list of fonts currently served by the Google Fonts Developer API.", 102 "flatPath": "v1/webfonts", 103 "httpMethod": "GET", 104 "id": "webfonts.webfonts.list", 105 "parameterOrder": [], 106 "parameters": { 107 "sort": { 108 "description": "Enables sorting of the list.", 109 "enum": [ 110 "SORT_UNDEFINED", 111 "ALPHA", 112 "DATE", 113 "POPULARITY", 114 "STYLE", 115 "TRENDING" 116 ], 117 "enumDescriptions": [ 118 "No sorting specified, use the default sorting method.", 119 "Sort alphabetically", 120 "Sort by date added", 121 "Sort by popularity", 122 "Sort by number of styles", 123 "Sort by trending" 124 ], 125 "location": "query", 126 "type": "string" 127 } 128 }, 129 "path": "v1/webfonts", 130 "response": { 131 "$ref": "WebfontList" 132 } 133 } 134 } 135 } 136 }, 137 "revision": "20211213", 138 "rootUrl": "https://webfonts.googleapis.com/", 139 "schemas": { 140 "Webfont": { 141 "description": "Metadata describing a family of fonts.", 142 "id": "Webfont", 143 "properties": { 144 "category": { 145 "description": "The category of the font.", 146 "type": "string" 147 }, 148 "family": { 149 "description": "The name of the font.", 150 "type": "string" 151 }, 152 "files": { 153 "additionalProperties": { 154 "type": "string" 155 }, 156 "description": "The font files (with all supported scripts) for each one of the available variants, as a key : value map.", 157 "type": "object" 158 }, 159 "kind": { 160 "description": "This kind represents a webfont object in the webfonts service.", 161 "type": "string" 162 }, 163 "lastModified": { 164 "description": "The date (format \"yyyy-MM-dd\") the font was modified for the last time.", 165 "type": "string" 166 }, 167 "subsets": { 168 "description": "The scripts supported by the font.", 169 "items": { 170 "type": "string" 171 }, 172 "type": "array" 173 }, 174 "variants": { 175 "description": "The available variants for the font.", 176 "items": { 177 "type": "string" 178 }, 179 "type": "array" 180 }, 181 "version": { 182 "description": "The font version.", 183 "type": "string" 184 } 185 }, 186 "type": "object" 187 }, 188 "WebfontList": { 189 "description": "Response containing the list of fonts currently served by the Google Fonts API.", 190 "id": "WebfontList", 191 "properties": { 192 "items": { 193 "description": "The list of fonts currently served by the Google Fonts API.", 194 "items": { 195 "$ref": "Webfont" 196 }, 197 "type": "array" 198 }, 199 "kind": { 200 "description": "This kind represents a list of webfont objects in the webfonts service.", 201 "type": "string" 202 } 203 }, 204 "type": "object" 205 } 206 }, 207 "servicePath": "", 208 "title": "Web Fonts Developer API", 209 "version": "v1" 210}