OLD | NEW |
1 { | 1 { |
2 "auth": { | 2 "auth": { |
3 "oauth2": { | 3 "oauth2": { |
4 "scopes": { | 4 "scopes": { |
5 "https://www.googleapis.com/auth/urlshortener": { | 5 "https://www.googleapis.com/auth/urlshortener": { |
6 "description": "Manage your goo.gl short URLs" | 6 "description": "Manage your goo.gl short URLs" |
7 } | 7 } |
8 } | 8 } |
9 } | 9 } |
10 }, | 10 }, |
11 "basePath": "/urlshortener/v1/", | 11 "basePath": "/urlshortener/v1/", |
12 "baseUrl": "https://www.googleapis.com/urlshortener/v1/", | 12 "baseUrl": "https://www.googleapis.com/urlshortener/v1/", |
13 "batchPath": "batch", | 13 "batchPath": "batch", |
14 "description": "Lets you create, inspect, and manage goo.gl short URLs", | 14 "description": "Lets you create, inspect, and manage goo.gl short URLs", |
15 "discoveryVersion": "v1", | 15 "discoveryVersion": "v1", |
16 "documentationLink": "https://developers.google.com/url-shortener/v1/getting
_started", | 16 "documentationLink": "https://developers.google.com/url-shortener/v1/getting
_started", |
17 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/1C30NWlxHwCp4oEi0Zm2pnP1A5E\"", | 17 "etag": "\"ye6orv2F-1npMW3u9suM3a7C5Bo/hGOTAH4tOR9ybjNLhWvisea-41E\"", |
18 "icons": { | 18 "icons": { |
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 19 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 20 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
21 }, | 21 }, |
22 "id": "urlshortener:v1", | 22 "id": "urlshortener:v1", |
23 "kind": "discovery#restDescription", | 23 "kind": "discovery#restDescription", |
24 "name": "urlshortener", | 24 "name": "urlshortener", |
25 "ownerDomain": "google.com", | 25 "ownerDomain": "google.com", |
26 "ownerName": "Google", | 26 "ownerName": "Google", |
27 "parameters": { | 27 "parameters": { |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
99 "shortUrl": { | 99 "shortUrl": { |
100 "description": "The short URL, including the protoco
l.", | 100 "description": "The short URL, including the protoco
l.", |
101 "location": "query", | 101 "location": "query", |
102 "required": true, | 102 "required": true, |
103 "type": "string" | 103 "type": "string" |
104 } | 104 } |
105 }, | 105 }, |
106 "path": "url", | 106 "path": "url", |
107 "response": { | 107 "response": { |
108 "$ref": "Url" | 108 "$ref": "Url" |
109 } | 109 }, |
| 110 "scopes": [ |
| 111 "https://www.googleapis.com/auth/urlshortener" |
| 112 ] |
110 }, | 113 }, |
111 "insert": { | 114 "insert": { |
112 "description": "Creates a new short URL.", | 115 "description": "Creates a new short URL.", |
113 "httpMethod": "POST", | 116 "httpMethod": "POST", |
114 "id": "urlshortener.url.insert", | 117 "id": "urlshortener.url.insert", |
115 "path": "url", | 118 "path": "url", |
116 "request": { | 119 "request": { |
117 "$ref": "Url" | 120 "$ref": "Url" |
118 }, | 121 }, |
119 "response": { | 122 "response": { |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 "response": { | 154 "response": { |
152 "$ref": "UrlHistory" | 155 "$ref": "UrlHistory" |
153 }, | 156 }, |
154 "scopes": [ | 157 "scopes": [ |
155 "https://www.googleapis.com/auth/urlshortener" | 158 "https://www.googleapis.com/auth/urlshortener" |
156 ] | 159 ] |
157 } | 160 } |
158 } | 161 } |
159 } | 162 } |
160 }, | 163 }, |
161 "revision": "20150219", | 164 "revision": "20150319", |
162 "rootUrl": "https://www.googleapis.com/", | 165 "rootUrl": "https://www.googleapis.com/", |
163 "schemas": { | 166 "schemas": { |
164 "AnalyticsSnapshot": { | 167 "AnalyticsSnapshot": { |
165 "id": "AnalyticsSnapshot", | 168 "id": "AnalyticsSnapshot", |
166 "properties": { | 169 "properties": { |
167 "browsers": { | 170 "browsers": { |
168 "description": "Top browsers, e.g. \"Chrome\"; sorted by (de
scending) click counts. Only present if this data is available.", | 171 "description": "Top browsers, e.g. \"Chrome\"; sorted by (de
scending) click counts. Only present if this data is available.", |
169 "items": { | 172 "items": { |
170 "$ref": "StringCount" | 173 "$ref": "StringCount" |
171 }, | 174 }, |
(...skipping 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
307 "type": "integer" | 310 "type": "integer" |
308 } | 311 } |
309 }, | 312 }, |
310 "type": "object" | 313 "type": "object" |
311 } | 314 } |
312 }, | 315 }, |
313 "servicePath": "urlshortener/v1/", | 316 "servicePath": "urlshortener/v1/", |
314 "title": "URL Shortener API", | 317 "title": "URL Shortener API", |
315 "version": "v1" | 318 "version": "v1" |
316 } | 319 } |
OLD | NEW |