| OLD | NEW |
| 1 { | 1 { |
| 2 "basePath": "/pagespeedonline/v1/", | 2 "basePath": "/pagespeedonline/v1/", |
| 3 "baseUrl": "https://www.googleapis.com/pagespeedonline/v1/", | 3 "baseUrl": "https://www.googleapis.com/pagespeedonline/v1/", |
| 4 "batchPath": "batch", | 4 "batchPath": "batch", |
| 5 "description": "Lets you analyze the performance of a web page and get tailo
red suggestions to make that page faster.", | 5 "description": "Lets you analyze the performance of a web page and get tailo
red suggestions to make that page faster.", |
| 6 "discoveryVersion": "v1", | 6 "discoveryVersion": "v1", |
| 7 "documentationLink": "https://developers.google.com/speed/docs/insights/v1/g
etting_started", | 7 "documentationLink": "https://developers.google.com/speed/docs/insights/v1/g
etting_started", |
| 8 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/ZxBeTkfCnEKvhvWii3EWvp3ftvE\"", | 8 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/53c1pDum-m_4xRbboeMr9HDsJSk\"", |
| 9 "icons": { | 9 "icons": { |
| 10 "x16": "https://www.google.com/images/icons/product/pagespeed-16.png", | 10 "x16": "https://www.google.com/images/icons/product/pagespeed-16.png", |
| 11 "x32": "https://www.google.com/images/icons/product/pagespeed-32.png" | 11 "x32": "https://www.google.com/images/icons/product/pagespeed-32.png" |
| 12 }, | 12 }, |
| 13 "id": "pagespeedonline:v1", | 13 "id": "pagespeedonline:v1", |
| 14 "kind": "discovery#restDescription", | 14 "kind": "discovery#restDescription", |
| 15 "name": "pagespeedonline", | 15 "name": "pagespeedonline", |
| 16 "ownerDomain": "google.com", | 16 "ownerDomain": "google.com", |
| 17 "ownerName": "Google", | 17 "ownerName": "Google", |
| 18 "parameters": { | 18 "parameters": { |
| (...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 58 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", | 58 "description": "IP address of the site where the request originates.
Use this if you want to enforce per-user limits.", |
| 59 "location": "query", | 59 "location": "query", |
| 60 "type": "string" | 60 "type": "string" |
| 61 } | 61 } |
| 62 }, | 62 }, |
| 63 "protocol": "rest", | 63 "protocol": "rest", |
| 64 "resources": { | 64 "resources": { |
| 65 "pagespeedapi": { | 65 "pagespeedapi": { |
| 66 "methods": { | 66 "methods": { |
| 67 "runpagespeed": { | 67 "runpagespeed": { |
| 68 "description": "Runs Page Speed analysis on the page at the
specified URL, and returns a Page Speed score, a list of suggestions to make tha
t page faster, and other information.", | 68 "description": "Runs PageSpeed analysis on the page at the s
pecified URL, and returns a PageSpeed score, a list of suggestions to make that
page faster, and other information.", |
| 69 "httpMethod": "GET", | 69 "httpMethod": "GET", |
| 70 "id": "pagespeedonline.pagespeedapi.runpagespeed", | 70 "id": "pagespeedonline.pagespeedapi.runpagespeed", |
| 71 "parameterOrder": [ | 71 "parameterOrder": [ |
| 72 "url" | 72 "url" |
| 73 ], | 73 ], |
| 74 "parameters": { | 74 "parameters": { |
| 75 "filter_third_party_resources": { | 75 "filter_third_party_resources": { |
| 76 "default": "false", | 76 "default": "false", |
| 77 "description": "Indicates if third party resources s
hould be filtered out before PageSpeed analysis.", | 77 "description": "Indicates if third party resources s
hould be filtered out before PageSpeed analysis.", |
| 78 "location": "query", | 78 "location": "query", |
| 79 "type": "boolean" | 79 "type": "boolean" |
| 80 }, | 80 }, |
| 81 "locale": { | 81 "locale": { |
| 82 "description": "The locale used to localize formatte
d results", | 82 "description": "The locale used to localize formatte
d results", |
| 83 "location": "query", | 83 "location": "query", |
| 84 "pattern": "[a-zA-Z]+(_[a-zA-Z]+)?", | 84 "pattern": "[a-zA-Z]+(_[a-zA-Z]+)?", |
| 85 "type": "string" | 85 "type": "string" |
| 86 }, | 86 }, |
| 87 "rule": { | 87 "rule": { |
| 88 "description": "A Page Speed rule to run; if none ar
e given, all rules are run", | 88 "description": "A PageSpeed rule to run; if none are
given, all rules are run", |
| 89 "location": "query", | 89 "location": "query", |
| 90 "pattern": "[a-zA-Z]+", | 90 "pattern": "[a-zA-Z]+", |
| 91 "repeated": true, | 91 "repeated": true, |
| 92 "type": "string" | 92 "type": "string" |
| 93 }, | 93 }, |
| 94 "screenshot": { | 94 "screenshot": { |
| 95 "default": "false", | 95 "default": "false", |
| 96 "description": "Indicates if binary data containing
a screenshot should be included", | 96 "description": "Indicates if binary data containing
a screenshot should be included", |
| 97 "location": "query", | 97 "location": "query", |
| 98 "type": "boolean" | 98 "type": "boolean" |
| (...skipping 20 matching lines...) Expand all Loading... |
| 119 } | 119 } |
| 120 }, | 120 }, |
| 121 "path": "runPagespeed", | 121 "path": "runPagespeed", |
| 122 "response": { | 122 "response": { |
| 123 "$ref": "Result" | 123 "$ref": "Result" |
| 124 } | 124 } |
| 125 } | 125 } |
| 126 } | 126 } |
| 127 } | 127 } |
| 128 }, | 128 }, |
| 129 "revision": "20150108", | 129 "revision": "20150317", |
| 130 "rootUrl": "https://www.googleapis.com/", | 130 "rootUrl": "https://www.googleapis.com/", |
| 131 "schemas": { | 131 "schemas": { |
| 132 "Result": { | 132 "Result": { |
| 133 "id": "Result", | 133 "id": "Result", |
| 134 "properties": { | 134 "properties": { |
| 135 "formattedResults": { | 135 "formattedResults": { |
| 136 "description": "Localized Page Speed results. Contains a rul
eResults entry for each Page Speed rule instantiated and run by the server.", | 136 "description": "Localized PageSpeed results. Contains a rule
Results entry for each PageSpeed rule instantiated and run by the server.", |
| 137 "properties": { | 137 "properties": { |
| 138 "locale": { | 138 "locale": { |
| 139 "description": "The locale of the formattedResults,
e.g. \"en_US\".", | 139 "description": "The locale of the formattedResults,
e.g. \"en_US\".", |
| 140 "type": "string" | 140 "type": "string" |
| 141 }, | 141 }, |
| 142 "ruleResults": { | 142 "ruleResults": { |
| 143 "additionalProperties": { | 143 "additionalProperties": { |
| 144 "description": "The enum-like identifier for thi
s rule. For instance \"EnableKeepAlive\" or \"AvoidCssImport\". Not localized.", | 144 "description": "The enum-like identifier for thi
s rule. For instance \"EnableKeepAlive\" or \"AvoidCssImport\". Not localized.", |
| 145 "properties": { | 145 "properties": { |
| 146 "localizedRuleName": { | 146 "localizedRuleName": { |
| (...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 250 "type": "array" | 250 "type": "array" |
| 251 } | 251 } |
| 252 }, | 252 }, |
| 253 "type": "object" | 253 "type": "object" |
| 254 }, | 254 }, |
| 255 "type": "array" | 255 "type": "array" |
| 256 } | 256 } |
| 257 }, | 257 }, |
| 258 "type": "object" | 258 "type": "object" |
| 259 }, | 259 }, |
| 260 "description": "Dictionary of formatted rule results
, with one entry for each Page Speed rule instantiated and run by the server.", | 260 "description": "Dictionary of formatted rule results
, with one entry for each PageSpeed rule instantiated and run by the server.", |
| 261 "type": "object" | 261 "type": "object" |
| 262 } | 262 } |
| 263 }, | 263 }, |
| 264 "type": "object" | 264 "type": "object" |
| 265 }, | 265 }, |
| 266 "id": { | 266 "id": { |
| 267 "description": "Canonicalized and final URL for the document
, after following page redirects (if any).", | 267 "description": "Canonicalized and final URL for the document
, after following page redirects (if any).", |
| 268 "type": "string" | 268 "type": "string" |
| 269 }, | 269 }, |
| 270 "invalidRules": { | 270 "invalidRules": { |
| (...skipping 78 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 349 } | 349 } |
| 350 }, | 350 }, |
| 351 "type": "object" | 351 "type": "object" |
| 352 }, | 352 }, |
| 353 "responseCode": { | 353 "responseCode": { |
| 354 "description": "Response code for the document. 200 indicate
s a normal page load. 4xx/5xx indicates an error.", | 354 "description": "Response code for the document. 200 indicate
s a normal page load. 4xx/5xx indicates an error.", |
| 355 "format": "int32", | 355 "format": "int32", |
| 356 "type": "integer" | 356 "type": "integer" |
| 357 }, | 357 }, |
| 358 "score": { | 358 "score": { |
| 359 "description": "The Page Speed Score (0-100), which indicate
s how much faster a page could be. A high score indicates little room for improv
ement, while a lower score indicates more room for improvement.", | 359 "description": "The PageSpeed Score (0-100), which indicates
how much faster a page could be. A high score indicates little room for improve
ment, while a lower score indicates more room for improvement.", |
| 360 "format": "int32", | 360 "format": "int32", |
| 361 "type": "integer" | 361 "type": "integer" |
| 362 }, | 362 }, |
| 363 "screenshot": { | 363 "screenshot": { |
| 364 "description": "Base64 encoded screenshot of the page that w
as analyzed.", | 364 "description": "Base64-encoded screenshot of the page that w
as analyzed.", |
| 365 "properties": { | 365 "properties": { |
| 366 "data": { | 366 "data": { |
| 367 "description": "Image data base64 encoded.", | 367 "description": "Image data base64 encoded.", |
| 368 "format": "byte", | 368 "format": "byte", |
| 369 "type": "string" | 369 "type": "string" |
| 370 }, | 370 }, |
| 371 "height": { | 371 "height": { |
| 372 "description": "Height of screenshot in pixels.", | 372 "description": "Height of screenshot in pixels.", |
| 373 "format": "int32", | 373 "format": "int32", |
| 374 "type": "integer" | 374 "type": "integer" |
| 375 }, | 375 }, |
| 376 "mime_type": { | 376 "mime_type": { |
| 377 "description": "Mime type of image data. E.g. \"imag
e/jpeg\".", | 377 "description": "Mime type of image data. E.g. \"imag
e/jpeg\".", |
| 378 "type": "string" | 378 "type": "string" |
| 379 }, | 379 }, |
| 380 "width": { | 380 "width": { |
| 381 "description": "Width of screenshot in pixels.", | 381 "description": "Width of screenshot in pixels.", |
| 382 "format": "int32", | 382 "format": "int32", |
| 383 "type": "integer" | 383 "type": "integer" |
| 384 } | 384 } |
| 385 }, | 385 }, |
| 386 "type": "object" | 386 "type": "object" |
| 387 }, | 387 }, |
| 388 "title": { | 388 "title": { |
| 389 "description": "Title of the page, as displayed in the brows
er's title bar.", | 389 "description": "Title of the page, as displayed in the brows
er's title bar.", |
| 390 "type": "string" | 390 "type": "string" |
| 391 }, | 391 }, |
| 392 "version": { | 392 "version": { |
| 393 "description": "The version of the Page Speed SDK used to ge
nerate these results.", | 393 "description": "The version of PageSpeed used to generate th
ese results.", |
| 394 "properties": { | 394 "properties": { |
| 395 "major": { | 395 "major": { |
| 396 "description": "The major version number of the Page
Speed SDK used to generate these results.", | 396 "description": "The major version number of PageSpee
d used to generate these results.", |
| 397 "format": "int32", | 397 "format": "int32", |
| 398 "type": "integer" | 398 "type": "integer" |
| 399 }, | 399 }, |
| 400 "minor": { | 400 "minor": { |
| 401 "description": "The minor version number of the Page
Speed SDK used to generate these results.", | 401 "description": "The minor version number of PageSpee
d used to generate these results.", |
| 402 "format": "int32", | 402 "format": "int32", |
| 403 "type": "integer" | 403 "type": "integer" |
| 404 } | 404 } |
| 405 }, | 405 }, |
| 406 "type": "object" | 406 "type": "object" |
| 407 } | 407 } |
| 408 }, | 408 }, |
| 409 "type": "object" | 409 "type": "object" |
| 410 } | 410 } |
| 411 }, | 411 }, |
| 412 "servicePath": "pagespeedonline/v1/", | 412 "servicePath": "pagespeedonline/v1/", |
| 413 "title": "PageSpeed Insights API", | 413 "title": "PageSpeed Insights API", |
| 414 "version": "v1" | 414 "version": "v1" |
| 415 } | 415 } |
| OLD | NEW |