Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(551)

Unified Diff: discovery/googleapis/webfonts__v1.json

Issue 559053002: Generate 0.1.0 version of googleapis/googleapis_beta (Closed) Base URL: git@github.com:dart-lang/googleapis.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: discovery/googleapis/webfonts__v1.json
diff --git a/discovery/googleapis/webfonts__v1.json b/discovery/googleapis/webfonts__v1.json
new file mode 100644
index 0000000000000000000000000000000000000000..c2287de7ab10aeaadcb0e4e183b3592aac2a8478
--- /dev/null
+++ b/discovery/googleapis/webfonts__v1.json
@@ -0,0 +1,175 @@
+{
+ "basePath": "/webfonts/v1/",
+ "baseUrl": "https://www.googleapis.com/webfonts/v1/",
+ "batchPath": "batch",
+ "description": "The Google Fonts Developer API.",
+ "discoveryVersion": "v1",
+ "documentationLink": "https://developers.google.com/fonts/docs/developer_api",
+ "etag": "\"uUWyYHXmEn-ab7WLvo8qNz2S8ws/uRZcMEbTVS9rWZxqJQOe5kJsXfo\"",
+ "icons": {
+ "x16": "http://www.google.com/images/icons/feature/font_api-16.png",
+ "x32": "http://www.google.com/images/icons/feature/font_api-32.gif"
+ },
+ "id": "webfonts:v1",
+ "kind": "discovery#restDescription",
+ "name": "webfonts",
+ "ownerDomain": "google.com",
+ "ownerName": "Google",
+ "parameters": {
+ "alt": {
+ "default": "json",
+ "description": "Data format for the response.",
+ "enum": [
+ "json"
+ ],
+ "enumDescriptions": [
+ "Responses with Content-Type of application/json"
+ ],
+ "location": "query",
+ "type": "string"
+ },
+ "fields": {
+ "description": "Selector specifying which fields to include in a partial response.",
+ "location": "query",
+ "type": "string"
+ },
+ "key": {
+ "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.",
+ "location": "query",
+ "type": "string"
+ },
+ "oauth_token": {
+ "description": "OAuth 2.0 token for the current user.",
+ "location": "query",
+ "type": "string"
+ },
+ "prettyPrint": {
+ "default": "true",
+ "description": "Returns response with indentations and line breaks.",
+ "location": "query",
+ "type": "boolean"
+ },
+ "quotaUser": {
+ "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. Overrides userIp if both are provided.",
+ "location": "query",
+ "type": "string"
+ },
+ "userIp": {
+ "description": "IP address of the site where the request originates. Use this if you want to enforce per-user limits.",
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "protocol": "rest",
+ "resources": {
+ "webfonts": {
+ "methods": {
+ "list": {
+ "description": "Retrieves the list of fonts currently served by the Google Fonts Developer API",
+ "httpMethod": "GET",
+ "id": "webfonts.webfonts.list",
+ "parameters": {
+ "sort": {
+ "description": "Enables sorting of the list",
+ "enum": [
+ "alpha",
+ "date",
+ "popularity",
+ "style",
+ "trending"
+ ],
+ "enumDescriptions": [
+ "Sort alphabetically",
+ "Sort by date added",
+ "Sort by popularity",
+ "Sort by number of styles",
+ "Sort by trending"
+ ],
+ "location": "query",
+ "type": "string"
+ }
+ },
+ "path": "webfonts",
+ "response": {
+ "$ref": "WebfontList"
+ }
+ }
+ }
+ }
+ },
+ "revision": "20140210",
+ "rootUrl": "https://www.googleapis.com/",
+ "schemas": {
+ "Webfont": {
+ "id": "Webfont",
+ "properties": {
+ "category": {
+ "description": "The category of the font.",
+ "type": "string"
+ },
+ "family": {
+ "description": "The name of the font.",
+ "type": "string"
+ },
+ "files": {
+ "additionalProperties": {
+ "description": "The font file URL (value) for an specific variant (key).",
+ "type": "string"
+ },
+ "description": "The font files (with all supported scripts) for each one of the available variants, as a key : value map.",
+ "type": "object"
+ },
+ "kind": {
+ "default": "webfonts#webfont",
+ "description": "This kind represents a webfont object in the webfonts service.",
+ "type": "string"
+ },
+ "lastModified": {
+ "description": "The date (format \"yyyy-MM-dd\") the font was modified for the last time.",
+ "format": "date",
+ "type": "string"
+ },
+ "subsets": {
+ "description": "The scripts supported by the font.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "variants": {
+ "description": "The available variants for the font.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "version": {
+ "description": "The font version.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "WebfontList": {
+ "id": "WebfontList",
+ "properties": {
+ "items": {
+ "description": "The list of fonts currently served by the Google Fonts API.",
+ "items": {
+ "$ref": "Webfont"
+ },
+ "type": "array"
+ },
+ "kind": {
+ "default": "webfonts#webfontList",
+ "description": "This kind represents a list of webfont objects in the webfonts service.",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+ },
+ "servicePath": "webfonts/v1/",
+ "title": "Google Fonts Developer API",
+ "version": "v1"
+}

Powered by Google App Engine
This is Rietveld 408576698