| OLD | NEW |
| 1 { | 1 { |
| 2 "auth": { | 2 "auth": { |
| 3 "oauth2": { | 3 "oauth2": { |
| 4 "scopes": { | 4 "scopes": { |
| 5 "https://www.googleapis.com/auth/consumersurveys": { | 5 "https://www.googleapis.com/auth/consumersurveys": { |
| 6 "description": "View and edit your surveys and results" | 6 "description": "View and edit your surveys and results" |
| 7 }, | 7 }, |
| 8 "https://www.googleapis.com/auth/consumersurveys.readonly": { | 8 "https://www.googleapis.com/auth/consumersurveys.readonly": { |
| 9 "description": "View the results for your surveys" | 9 "description": "View the results for your surveys" |
| 10 }, | 10 }, |
| 11 "https://www.googleapis.com/auth/userinfo.email": { | 11 "https://www.googleapis.com/auth/userinfo.email": { |
| 12 "description": "View your email address" | 12 "description": "View your email address" |
| 13 } | 13 } |
| 14 } | 14 } |
| 15 } | 15 } |
| 16 }, | 16 }, |
| 17 "basePath": "/consumersurveys/v2/", | 17 "basePath": "/consumersurveys/v2/", |
| 18 "baseUrl": "https://www.googleapis.com/consumersurveys/v2/", | 18 "baseUrl": "https://www.googleapis.com/consumersurveys/v2/", |
| 19 "batchPath": "batch", | 19 "batchPath": "batch", |
| 20 "canonicalName": "Consumer Surveys", | 20 "canonicalName": "Consumer Surveys", |
| 21 "description": "Creates and conducts surveys, lists the surveys that an auth
enticated user owns, and retrieves survey results and information about specifie
d surveys.", | 21 "description": "Creates and conducts surveys, lists the surveys that an auth
enticated user owns, and retrieves survey results and information about specifie
d surveys.", |
| 22 "discoveryVersion": "v1", | 22 "discoveryVersion": "v1", |
| 23 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/UUFfqPW5Viffl9wMWtQNrKHUs5E\"", | 23 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/r9HedtrzUW2pbu5XQ5oErnzKmxQ\"", |
| 24 "icons": { | 24 "icons": { |
| 25 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 25 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 26 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 26 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 27 }, | 27 }, |
| 28 "id": "consumersurveys:v2", | 28 "id": "consumersurveys:v2", |
| 29 "kind": "discovery#restDescription", | 29 "kind": "discovery#restDescription", |
| 30 "name": "consumersurveys", | 30 "name": "consumersurveys", |
| 31 "ownerDomain": "google.com", | 31 "ownerDomain": "google.com", |
| 32 "ownerName": "Google", | 32 "ownerName": "Google", |
| 33 "parameters": { | 33 "parameters": { |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 191 "https://www.googleapis.com/auth/consumersurveys", | 191 "https://www.googleapis.com/auth/consumersurveys", |
| 192 "https://www.googleapis.com/auth/consumersurveys.readonl
y", | 192 "https://www.googleapis.com/auth/consumersurveys.readonl
y", |
| 193 "https://www.googleapis.com/auth/userinfo.email" | 193 "https://www.googleapis.com/auth/userinfo.email" |
| 194 ], | 194 ], |
| 195 "supportsMediaDownload": true | 195 "supportsMediaDownload": true |
| 196 } | 196 } |
| 197 } | 197 } |
| 198 }, | 198 }, |
| 199 "surveys": { | 199 "surveys": { |
| 200 "methods": { | 200 "methods": { |
| 201 "delete": { |
| 202 "description": "Removes a survey from view in all user GET r
equests.", |
| 203 "httpMethod": "DELETE", |
| 204 "id": "consumersurveys.surveys.delete", |
| 205 "parameterOrder": [ |
| 206 "surveyUrlId" |
| 207 ], |
| 208 "parameters": { |
| 209 "surveyUrlId": { |
| 210 "description": "External URL ID for the survey.", |
| 211 "location": "path", |
| 212 "required": true, |
| 213 "type": "string" |
| 214 } |
| 215 }, |
| 216 "path": "surveys/{surveyUrlId}", |
| 217 "response": { |
| 218 "$ref": "SurveysDeleteResponse" |
| 219 }, |
| 220 "scopes": [ |
| 221 "https://www.googleapis.com/auth/consumersurveys", |
| 222 "https://www.googleapis.com/auth/userinfo.email" |
| 223 ] |
| 224 }, |
| 201 "get": { | 225 "get": { |
| 202 "description": "Retrieves information about the specified su
rvey.", | 226 "description": "Retrieves information about the specified su
rvey.", |
| 203 "httpMethod": "GET", | 227 "httpMethod": "GET", |
| 204 "id": "consumersurveys.surveys.get", | 228 "id": "consumersurveys.surveys.get", |
| 205 "parameterOrder": [ | 229 "parameterOrder": [ |
| 206 "surveyUrlId" | 230 "surveyUrlId" |
| 207 ], | 231 ], |
| 208 "parameters": { | 232 "parameters": { |
| 209 "surveyUrlId": { | 233 "surveyUrlId": { |
| 210 "description": "External URL ID for the survey.", | 234 "description": "External URL ID for the survey.", |
| (...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 341 "$ref": "Survey" | 365 "$ref": "Survey" |
| 342 }, | 366 }, |
| 343 "scopes": [ | 367 "scopes": [ |
| 344 "https://www.googleapis.com/auth/consumersurveys", | 368 "https://www.googleapis.com/auth/consumersurveys", |
| 345 "https://www.googleapis.com/auth/userinfo.email" | 369 "https://www.googleapis.com/auth/userinfo.email" |
| 346 ] | 370 ] |
| 347 } | 371 } |
| 348 } | 372 } |
| 349 } | 373 } |
| 350 }, | 374 }, |
| 351 "revision": "20160602", | 375 "revision": "20160718", |
| 352 "rootUrl": "https://www.googleapis.com/", | 376 "rootUrl": "https://www.googleapis.com/", |
| 353 "schemas": { | 377 "schemas": { |
| 354 "FieldMask": { | 378 "FieldMask": { |
| 355 "id": "FieldMask", | 379 "id": "FieldMask", |
| 356 "properties": { | 380 "properties": { |
| 357 "fields": { | 381 "fields": { |
| 358 "items": { | 382 "items": { |
| 359 "$ref": "FieldMask" | 383 "$ref": "FieldMask" |
| 360 }, | 384 }, |
| 361 "type": "array" | 385 "type": "array" |
| (...skipping 369 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 731 "description": "Human readable string describing the status
of the request.", | 755 "description": "Human readable string describing the status
of the request.", |
| 732 "type": "string" | 756 "type": "string" |
| 733 }, | 757 }, |
| 734 "surveyUrlId": { | 758 "surveyUrlId": { |
| 735 "description": "External survey ID as viewable by survey own
ers in the editor view.", | 759 "description": "External survey ID as viewable by survey own
ers in the editor view.", |
| 736 "type": "string" | 760 "type": "string" |
| 737 } | 761 } |
| 738 }, | 762 }, |
| 739 "type": "object" | 763 "type": "object" |
| 740 }, | 764 }, |
| 765 "SurveysDeleteResponse": { |
| 766 "id": "SurveysDeleteResponse", |
| 767 "properties": { |
| 768 "requestId": { |
| 769 "description": "Unique request ID used for logging and debug
ging. Please include in any error reporting or troubleshooting requests.", |
| 770 "type": "string" |
| 771 } |
| 772 }, |
| 773 "type": "object" |
| 774 }, |
| 741 "SurveysListResponse": { | 775 "SurveysListResponse": { |
| 742 "id": "SurveysListResponse", | 776 "id": "SurveysListResponse", |
| 743 "properties": { | 777 "properties": { |
| 744 "pageInfo": { | 778 "pageInfo": { |
| 745 "$ref": "PageInfo" | 779 "$ref": "PageInfo" |
| 746 }, | 780 }, |
| 747 "requestId": { | 781 "requestId": { |
| 748 "description": "Unique request ID used for logging and debug
ging. Please include in any error reporting or troubleshooting requests.", | 782 "description": "Unique request ID used for logging and debug
ging. Please include in any error reporting or troubleshooting requests.", |
| 749 "type": "string" | 783 "type": "string" |
| 750 }, | 784 }, |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 810 "type": "string" | 844 "type": "string" |
| 811 } | 845 } |
| 812 }, | 846 }, |
| 813 "type": "object" | 847 "type": "object" |
| 814 } | 848 } |
| 815 }, | 849 }, |
| 816 "servicePath": "consumersurveys/v2/", | 850 "servicePath": "consumersurveys/v2/", |
| 817 "title": "Consumer Surveys API", | 851 "title": "Consumer Surveys API", |
| 818 "version": "v2" | 852 "version": "v2" |
| 819 } | 853 } |
| OLD | NEW |