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

Side by Side Diff: discovery/googleapis/fitness__v1.json

Issue 2571553005: Api-roll 43: 2016-12-13 (Closed)
Patch Set: Created 4 years 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 unified diff | Download patch
« no previous file with comments | « discovery/googleapis/firebaserules__v1.json ('k') | discovery/googleapis/fusiontables__v1.json » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/fitness.activity.read": { 5 "https://www.googleapis.com/auth/fitness.activity.read": {
6 "description": "View your activity information in Google Fit " 6 "description": "View your activity information in Google Fit "
7 }, 7 },
8 "https://www.googleapis.com/auth/fitness.activity.write": { 8 "https://www.googleapis.com/auth/fitness.activity.write": {
9 "description": "View and store your activity information in Google Fit" 9 "description": "View and store your activity information in Google Fit"
10 }, 10 },
11 "https://www.googleapis.com/auth/fitness.blood_glucose.read": {
12 "description": "View blood glucose data in Google Fit"
13 },
14 "https://www.googleapis.com/auth/fitness.blood_glucose.write": {
15 "description": "View and store blood glucose data in Google Fit"
16 },
17 "https://www.googleapis.com/auth/fitness.blood_pressure.read": {
18 "description": "View blood pressure data in Google Fit"
19 },
20 "https://www.googleapis.com/auth/fitness.blood_pressure.write": {
21 "description": "View and store blood pressure data in Google Fit"
22 },
11 "https://www.googleapis.com/auth/fitness.body.read": { 23 "https://www.googleapis.com/auth/fitness.body.read": {
12 "description": "View body sensor information in Google Fit" 24 "description": "View body sensor information in Google Fit"
13 }, 25 },
14 "https://www.googleapis.com/auth/fitness.body.write": { 26 "https://www.googleapis.com/auth/fitness.body.write": {
15 "description": "View and store body sensor data in Google Fi t" 27 "description": "View and store body sensor data in Google Fi t"
16 }, 28 },
29 "https://www.googleapis.com/auth/fitness.body_temperature.read": {
30 "description": "View body temperature data in Google Fit"
31 },
32 "https://www.googleapis.com/auth/fitness.body_temperature.write" : {
33 "description": "View and store body temperature data in Goog le Fit"
34 },
17 "https://www.googleapis.com/auth/fitness.location.read": { 35 "https://www.googleapis.com/auth/fitness.location.read": {
18 "description": "View your stored location data in Google Fit " 36 "description": "View your stored location data in Google Fit "
19 }, 37 },
20 "https://www.googleapis.com/auth/fitness.location.write": { 38 "https://www.googleapis.com/auth/fitness.location.write": {
21 "description": "View and store your location data in Google Fit" 39 "description": "View and store your location data in Google Fit"
22 }, 40 },
23 "https://www.googleapis.com/auth/fitness.nutrition.read": { 41 "https://www.googleapis.com/auth/fitness.nutrition.read": {
24 "description": "View nutrition information in Google Fit" 42 "description": "View nutrition information in Google Fit"
25 }, 43 },
26 "https://www.googleapis.com/auth/fitness.nutrition.write": { 44 "https://www.googleapis.com/auth/fitness.nutrition.write": {
27 "description": "View and store nutrition information in Goog le Fit" 45 "description": "View and store nutrition information in Goog le Fit"
46 },
47 "https://www.googleapis.com/auth/fitness.oxygen_saturation.read" : {
48 "description": "View oxygen saturation data in Google Fit"
49 },
50 "https://www.googleapis.com/auth/fitness.oxygen_saturation.write ": {
51 "description": "View and store oxygen saturation data in Goo gle Fit"
52 },
53 "https://www.googleapis.com/auth/fitness.reproductive_health.rea d": {
54 "description": "View reproductive health data in Google Fit"
55 },
56 "https://www.googleapis.com/auth/fitness.reproductive_health.wri te": {
57 "description": "View and store reproductive health data in G oogle Fit"
28 } 58 }
29 } 59 }
30 } 60 }
31 }, 61 },
32 "basePath": "/fitness/v1/users/", 62 "basePath": "/fitness/v1/users/",
33 "baseUrl": "https://www.googleapis.com/fitness/v1/users/", 63 "baseUrl": "https://www.googleapis.com/fitness/v1/users/",
34 "batchPath": "batch", 64 "batchPath": "batch",
35 "description": "Stores and accesses user data in the fitness store from apps on any platform.", 65 "description": "Stores and accesses user data in the fitness store from apps on any platform.",
36 "discoveryVersion": "v1", 66 "discoveryVersion": "v1",
37 "documentationLink": "https://developers.google.com/fit/rest/", 67 "documentationLink": "https://developers.google.com/fit/rest/",
38 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/YYTaKGUD7QZsoB7peT0bkV-gPP8\"", 68 "etag": "\"tbys6C40o18GZwyMen5GMkdK-3s/ijeguRXyVpN9uEUSOI4kjLGOD9E\"",
39 "icons": { 69 "icons": {
40 "x16": "http://www.google.com/images/icons/product/search-16.gif", 70 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp. png",
41 "x32": "http://www.google.com/images/icons/product/search-32.gif" 71 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp. png"
42 }, 72 },
43 "id": "fitness:v1", 73 "id": "fitness:v1",
44 "kind": "discovery#restDescription", 74 "kind": "discovery#restDescription",
45 "name": "fitness", 75 "name": "fitness",
46 "ownerDomain": "google.com", 76 "ownerDomain": "google.com",
47 "ownerName": "Google", 77 "ownerName": "Google",
48 "parameters": { 78 "parameters": {
49 "alt": { 79 "alt": {
50 "default": "json", 80 "default": "json",
51 "description": "Data format for the response.", 81 "description": "Data format for the response.",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 }, 143 },
114 "path": "{userId}/dataSources", 144 "path": "{userId}/dataSources",
115 "request": { 145 "request": {
116 "$ref": "DataSource" 146 "$ref": "DataSource"
117 }, 147 },
118 "response": { 148 "response": {
119 "$ref": "DataSource" 149 "$ref": "DataSource"
120 }, 150 },
121 "scopes": [ 151 "scopes": [
122 "https://www.googleapis.com/auth/fitness.activit y.write", 152 "https://www.googleapis.com/auth/fitness.activit y.write",
153 "https://www.googleapis.com/auth/fitness.blood_g lucose.write",
154 "https://www.googleapis.com/auth/fitness.blood_p ressure.write",
123 "https://www.googleapis.com/auth/fitness.body.wr ite", 155 "https://www.googleapis.com/auth/fitness.body.wr ite",
156 "https://www.googleapis.com/auth/fitness.body_te mperature.write",
124 "https://www.googleapis.com/auth/fitness.locatio n.write", 157 "https://www.googleapis.com/auth/fitness.locatio n.write",
125 "https://www.googleapis.com/auth/fitness.nutriti on.write" 158 "https://www.googleapis.com/auth/fitness.nutriti on.write",
159 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.write",
160 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.write"
126 ] 161 ]
127 }, 162 },
128 "delete": { 163 "delete": {
129 "description": "Deletes the specified data source. T he request will fail if the data source contains any data points.", 164 "description": "Deletes the specified data source. T he request will fail if the data source contains any data points.",
130 "httpMethod": "DELETE", 165 "httpMethod": "DELETE",
131 "id": "fitness.users.dataSources.delete", 166 "id": "fitness.users.dataSources.delete",
132 "parameterOrder": [ 167 "parameterOrder": [
133 "userId", 168 "userId",
134 "dataSourceId" 169 "dataSourceId"
135 ], 170 ],
(...skipping 10 matching lines...) Expand all
146 "required": true, 181 "required": true,
147 "type": "string" 182 "type": "string"
148 } 183 }
149 }, 184 },
150 "path": "{userId}/dataSources/{dataSourceId}", 185 "path": "{userId}/dataSources/{dataSourceId}",
151 "response": { 186 "response": {
152 "$ref": "DataSource" 187 "$ref": "DataSource"
153 }, 188 },
154 "scopes": [ 189 "scopes": [
155 "https://www.googleapis.com/auth/fitness.activit y.write", 190 "https://www.googleapis.com/auth/fitness.activit y.write",
191 "https://www.googleapis.com/auth/fitness.blood_g lucose.write",
192 "https://www.googleapis.com/auth/fitness.blood_p ressure.write",
156 "https://www.googleapis.com/auth/fitness.body.wr ite", 193 "https://www.googleapis.com/auth/fitness.body.wr ite",
194 "https://www.googleapis.com/auth/fitness.body_te mperature.write",
157 "https://www.googleapis.com/auth/fitness.locatio n.write", 195 "https://www.googleapis.com/auth/fitness.locatio n.write",
158 "https://www.googleapis.com/auth/fitness.nutriti on.write" 196 "https://www.googleapis.com/auth/fitness.nutriti on.write",
197 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.write",
198 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.write"
159 ] 199 ]
160 }, 200 },
161 "get": { 201 "get": {
162 "description": "Returns the specified data source.", 202 "description": "Returns the specified data source.",
163 "httpMethod": "GET", 203 "httpMethod": "GET",
164 "id": "fitness.users.dataSources.get", 204 "id": "fitness.users.dataSources.get",
165 "parameterOrder": [ 205 "parameterOrder": [
166 "userId", 206 "userId",
167 "dataSourceId" 207 "dataSourceId"
168 ], 208 ],
(...skipping 11 matching lines...) Expand all
180 "type": "string" 220 "type": "string"
181 } 221 }
182 }, 222 },
183 "path": "{userId}/dataSources/{dataSourceId}", 223 "path": "{userId}/dataSources/{dataSourceId}",
184 "response": { 224 "response": {
185 "$ref": "DataSource" 225 "$ref": "DataSource"
186 }, 226 },
187 "scopes": [ 227 "scopes": [
188 "https://www.googleapis.com/auth/fitness.activit y.read", 228 "https://www.googleapis.com/auth/fitness.activit y.read",
189 "https://www.googleapis.com/auth/fitness.activit y.write", 229 "https://www.googleapis.com/auth/fitness.activit y.write",
230 "https://www.googleapis.com/auth/fitness.blood_g lucose.read",
231 "https://www.googleapis.com/auth/fitness.blood_g lucose.write",
232 "https://www.googleapis.com/auth/fitness.blood_p ressure.read",
233 "https://www.googleapis.com/auth/fitness.blood_p ressure.write",
190 "https://www.googleapis.com/auth/fitness.body.re ad", 234 "https://www.googleapis.com/auth/fitness.body.re ad",
191 "https://www.googleapis.com/auth/fitness.body.wr ite", 235 "https://www.googleapis.com/auth/fitness.body.wr ite",
236 "https://www.googleapis.com/auth/fitness.body_te mperature.read",
237 "https://www.googleapis.com/auth/fitness.body_te mperature.write",
192 "https://www.googleapis.com/auth/fitness.locatio n.read", 238 "https://www.googleapis.com/auth/fitness.locatio n.read",
193 "https://www.googleapis.com/auth/fitness.locatio n.write", 239 "https://www.googleapis.com/auth/fitness.locatio n.write",
194 "https://www.googleapis.com/auth/fitness.nutriti on.read", 240 "https://www.googleapis.com/auth/fitness.nutriti on.read",
195 "https://www.googleapis.com/auth/fitness.nutriti on.write" 241 "https://www.googleapis.com/auth/fitness.nutriti on.write",
242 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.read",
243 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.write",
244 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.read",
245 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.write"
196 ] 246 ]
197 }, 247 },
198 "list": { 248 "list": {
199 "description": "Lists all data sources that are visi ble to the developer, using the OAuth scopes provided. The list is not exhaustiv e; the user may have private data sources that are only visible to other develop ers, or calls using other scopes.", 249 "description": "Lists all data sources that are visi ble to the developer, using the OAuth scopes provided. The list is not exhaustiv e; the user may have private data sources that are only visible to other develop ers, or calls using other scopes.",
200 "httpMethod": "GET", 250 "httpMethod": "GET",
201 "id": "fitness.users.dataSources.list", 251 "id": "fitness.users.dataSources.list",
202 "parameterOrder": [ 252 "parameterOrder": [
203 "userId" 253 "userId"
204 ], 254 ],
205 "parameters": { 255 "parameters": {
(...skipping 10 matching lines...) Expand all
216 "type": "string" 266 "type": "string"
217 } 267 }
218 }, 268 },
219 "path": "{userId}/dataSources", 269 "path": "{userId}/dataSources",
220 "response": { 270 "response": {
221 "$ref": "ListDataSourcesResponse" 271 "$ref": "ListDataSourcesResponse"
222 }, 272 },
223 "scopes": [ 273 "scopes": [
224 "https://www.googleapis.com/auth/fitness.activit y.read", 274 "https://www.googleapis.com/auth/fitness.activit y.read",
225 "https://www.googleapis.com/auth/fitness.activit y.write", 275 "https://www.googleapis.com/auth/fitness.activit y.write",
276 "https://www.googleapis.com/auth/fitness.blood_g lucose.read",
277 "https://www.googleapis.com/auth/fitness.blood_g lucose.write",
278 "https://www.googleapis.com/auth/fitness.blood_p ressure.read",
279 "https://www.googleapis.com/auth/fitness.blood_p ressure.write",
226 "https://www.googleapis.com/auth/fitness.body.re ad", 280 "https://www.googleapis.com/auth/fitness.body.re ad",
227 "https://www.googleapis.com/auth/fitness.body.wr ite", 281 "https://www.googleapis.com/auth/fitness.body.wr ite",
282 "https://www.googleapis.com/auth/fitness.body_te mperature.read",
283 "https://www.googleapis.com/auth/fitness.body_te mperature.write",
228 "https://www.googleapis.com/auth/fitness.locatio n.read", 284 "https://www.googleapis.com/auth/fitness.locatio n.read",
229 "https://www.googleapis.com/auth/fitness.locatio n.write", 285 "https://www.googleapis.com/auth/fitness.locatio n.write",
230 "https://www.googleapis.com/auth/fitness.nutriti on.read", 286 "https://www.googleapis.com/auth/fitness.nutriti on.read",
231 "https://www.googleapis.com/auth/fitness.nutriti on.write" 287 "https://www.googleapis.com/auth/fitness.nutriti on.write",
288 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.read",
289 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.write",
290 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.read",
291 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.write"
232 ] 292 ]
233 }, 293 },
234 "patch": { 294 "patch": {
235 "description": "Updates the specified data source. T he dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be modified.\n\nData sources are identified by thei r dataStreamId. This method supports patch semantics.", 295 "description": "Updates the specified data source. T he dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be modified.\n\nData sources are identified by thei r dataStreamId. This method supports patch semantics.",
236 "httpMethod": "PATCH", 296 "httpMethod": "PATCH",
237 "id": "fitness.users.dataSources.patch", 297 "id": "fitness.users.dataSources.patch",
238 "parameterOrder": [ 298 "parameterOrder": [
239 "userId", 299 "userId",
240 "dataSourceId" 300 "dataSourceId"
241 ], 301 ],
(...skipping 13 matching lines...) Expand all
255 }, 315 },
256 "path": "{userId}/dataSources/{dataSourceId}", 316 "path": "{userId}/dataSources/{dataSourceId}",
257 "request": { 317 "request": {
258 "$ref": "DataSource" 318 "$ref": "DataSource"
259 }, 319 },
260 "response": { 320 "response": {
261 "$ref": "DataSource" 321 "$ref": "DataSource"
262 }, 322 },
263 "scopes": [ 323 "scopes": [
264 "https://www.googleapis.com/auth/fitness.activit y.write", 324 "https://www.googleapis.com/auth/fitness.activit y.write",
325 "https://www.googleapis.com/auth/fitness.blood_g lucose.write",
326 "https://www.googleapis.com/auth/fitness.blood_p ressure.write",
265 "https://www.googleapis.com/auth/fitness.body.wr ite", 327 "https://www.googleapis.com/auth/fitness.body.wr ite",
328 "https://www.googleapis.com/auth/fitness.body_te mperature.write",
266 "https://www.googleapis.com/auth/fitness.locatio n.write", 329 "https://www.googleapis.com/auth/fitness.locatio n.write",
267 "https://www.googleapis.com/auth/fitness.nutriti on.write" 330 "https://www.googleapis.com/auth/fitness.nutriti on.write",
331 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.write",
332 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.write"
268 ] 333 ]
269 }, 334 },
270 "update": { 335 "update": {
271 "description": "Updates the specified data source. T he dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be modified.\n\nData sources are identified by thei r dataStreamId.", 336 "description": "Updates the specified data source. T he dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be modified.\n\nData sources are identified by thei r dataStreamId.",
272 "httpMethod": "PUT", 337 "httpMethod": "PUT",
273 "id": "fitness.users.dataSources.update", 338 "id": "fitness.users.dataSources.update",
274 "parameterOrder": [ 339 "parameterOrder": [
275 "userId", 340 "userId",
276 "dataSourceId" 341 "dataSourceId"
277 ], 342 ],
(...skipping 13 matching lines...) Expand all
291 }, 356 },
292 "path": "{userId}/dataSources/{dataSourceId}", 357 "path": "{userId}/dataSources/{dataSourceId}",
293 "request": { 358 "request": {
294 "$ref": "DataSource" 359 "$ref": "DataSource"
295 }, 360 },
296 "response": { 361 "response": {
297 "$ref": "DataSource" 362 "$ref": "DataSource"
298 }, 363 },
299 "scopes": [ 364 "scopes": [
300 "https://www.googleapis.com/auth/fitness.activit y.write", 365 "https://www.googleapis.com/auth/fitness.activit y.write",
366 "https://www.googleapis.com/auth/fitness.blood_g lucose.write",
367 "https://www.googleapis.com/auth/fitness.blood_p ressure.write",
301 "https://www.googleapis.com/auth/fitness.body.wr ite", 368 "https://www.googleapis.com/auth/fitness.body.wr ite",
369 "https://www.googleapis.com/auth/fitness.body_te mperature.write",
302 "https://www.googleapis.com/auth/fitness.locatio n.write", 370 "https://www.googleapis.com/auth/fitness.locatio n.write",
303 "https://www.googleapis.com/auth/fitness.nutriti on.write" 371 "https://www.googleapis.com/auth/fitness.nutriti on.write",
372 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.write",
373 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.write"
304 ] 374 ]
305 } 375 }
306 }, 376 },
307 "resources": { 377 "resources": {
308 "datasets": { 378 "datasets": {
309 "methods": { 379 "methods": {
310 "delete": { 380 "delete": {
311 "description": "Performs an inclusive delete of all data points whose start and end times have any overlap with the time ran ge specified by the dataset ID. For most data types, the entire data point will be deleted. For data types where the time span represents a consistent value (su ch as com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be deleted." , 381 "description": "Performs an inclusive delete of all data points whose start and end times have any overlap with the time ran ge specified by the dataset ID. For most data types, the entire data point will be deleted. For data types where the time span represents a consistent value (su ch as com.google.activity.segment), and a data point straddles either end point of the dataset, only the overlapping portion of the data point will be deleted." ,
312 "httpMethod": "DELETE", 382 "httpMethod": "DELETE",
313 "id": "fitness.users.dataSources.datasets.de lete", 383 "id": "fitness.users.dataSources.datasets.de lete",
(...skipping 30 matching lines...) Expand all
344 "userId": { 414 "userId": {
345 "description": "Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is su pported at this time.", 415 "description": "Delete a dataset for the person identified. Use me to indicate the authenticated user. Only me is su pported at this time.",
346 "location": "path", 416 "location": "path",
347 "required": true, 417 "required": true,
348 "type": "string" 418 "type": "string"
349 } 419 }
350 }, 420 },
351 "path": "{userId}/dataSources/{dataSourceId} /datasets/{datasetId}", 421 "path": "{userId}/dataSources/{dataSourceId} /datasets/{datasetId}",
352 "scopes": [ 422 "scopes": [
353 "https://www.googleapis.com/auth/fitness .activity.write", 423 "https://www.googleapis.com/auth/fitness .activity.write",
424 "https://www.googleapis.com/auth/fitness .blood_glucose.write",
425 "https://www.googleapis.com/auth/fitness .blood_pressure.write",
354 "https://www.googleapis.com/auth/fitness .body.write", 426 "https://www.googleapis.com/auth/fitness .body.write",
427 "https://www.googleapis.com/auth/fitness .body_temperature.write",
355 "https://www.googleapis.com/auth/fitness .location.write", 428 "https://www.googleapis.com/auth/fitness .location.write",
356 "https://www.googleapis.com/auth/fitness .nutrition.write" 429 "https://www.googleapis.com/auth/fitness .nutrition.write",
430 "https://www.googleapis.com/auth/fitness .oxygen_saturation.write",
431 "https://www.googleapis.com/auth/fitness .reproductive_health.write"
357 ] 432 ]
358 }, 433 },
359 "get": { 434 "get": {
360 "description": "Returns a dataset containing all data points whose start and end times overlap with the specified range of t he dataset minimum start time and maximum end time. Specifically, any data point whose start time is less than or equal to the dataset end time and whose end ti me is greater than or equal to the dataset start time.", 435 "description": "Returns a dataset containing all data points whose start and end times overlap with the specified range of t he dataset minimum start time and maximum end time. Specifically, any data point whose start time is less than or equal to the dataset end time and whose end ti me is greater than or equal to the dataset start time.",
361 "httpMethod": "GET", 436 "httpMethod": "GET",
362 "id": "fitness.users.dataSources.datasets.ge t", 437 "id": "fitness.users.dataSources.datasets.ge t",
363 "parameterOrder": [ 438 "parameterOrder": [
364 "userId", 439 "userId",
365 "dataSourceId", 440 "dataSourceId",
366 "datasetId" 441 "datasetId"
(...skipping 29 matching lines...) Expand all
396 "type": "string" 471 "type": "string"
397 } 472 }
398 }, 473 },
399 "path": "{userId}/dataSources/{dataSourceId} /datasets/{datasetId}", 474 "path": "{userId}/dataSources/{dataSourceId} /datasets/{datasetId}",
400 "response": { 475 "response": {
401 "$ref": "Dataset" 476 "$ref": "Dataset"
402 }, 477 },
403 "scopes": [ 478 "scopes": [
404 "https://www.googleapis.com/auth/fitness .activity.read", 479 "https://www.googleapis.com/auth/fitness .activity.read",
405 "https://www.googleapis.com/auth/fitness .activity.write", 480 "https://www.googleapis.com/auth/fitness .activity.write",
481 "https://www.googleapis.com/auth/fitness .blood_glucose.read",
482 "https://www.googleapis.com/auth/fitness .blood_glucose.write",
483 "https://www.googleapis.com/auth/fitness .blood_pressure.read",
484 "https://www.googleapis.com/auth/fitness .blood_pressure.write",
406 "https://www.googleapis.com/auth/fitness .body.read", 485 "https://www.googleapis.com/auth/fitness .body.read",
407 "https://www.googleapis.com/auth/fitness .body.write", 486 "https://www.googleapis.com/auth/fitness .body.write",
487 "https://www.googleapis.com/auth/fitness .body_temperature.read",
488 "https://www.googleapis.com/auth/fitness .body_temperature.write",
408 "https://www.googleapis.com/auth/fitness .location.read", 489 "https://www.googleapis.com/auth/fitness .location.read",
409 "https://www.googleapis.com/auth/fitness .location.write", 490 "https://www.googleapis.com/auth/fitness .location.write",
410 "https://www.googleapis.com/auth/fitness .nutrition.read", 491 "https://www.googleapis.com/auth/fitness .nutrition.read",
411 "https://www.googleapis.com/auth/fitness .nutrition.write" 492 "https://www.googleapis.com/auth/fitness .nutrition.write",
493 "https://www.googleapis.com/auth/fitness .oxygen_saturation.read",
494 "https://www.googleapis.com/auth/fitness .oxygen_saturation.write",
495 "https://www.googleapis.com/auth/fitness .reproductive_health.read",
496 "https://www.googleapis.com/auth/fitness .reproductive_health.write"
412 ] 497 ]
413 }, 498 },
414 "patch": { 499 "patch": {
415 "description": "Adds data points to a datase t. The dataset need not be previously created. All points within the given datas et will be returned with subsquent calls to retrieve this dataset. Data points c an belong to more than one dataset. This method does not use patch semantics.", 500 "description": "Adds data points to a datase t. The dataset need not be previously created. All points within the given datas et will be returned with subsquent calls to retrieve this dataset. Data points c an belong to more than one dataset. This method does not use patch semantics.",
416 "httpMethod": "PATCH", 501 "httpMethod": "PATCH",
417 "id": "fitness.users.dataSources.datasets.pa tch", 502 "id": "fitness.users.dataSources.datasets.pa tch",
418 "parameterOrder": [ 503 "parameterOrder": [
419 "userId", 504 "userId",
420 "dataSourceId", 505 "dataSourceId",
421 "datasetId" 506 "datasetId"
(...skipping 26 matching lines...) Expand all
448 }, 533 },
449 "path": "{userId}/dataSources/{dataSourceId} /datasets/{datasetId}", 534 "path": "{userId}/dataSources/{dataSourceId} /datasets/{datasetId}",
450 "request": { 535 "request": {
451 "$ref": "Dataset" 536 "$ref": "Dataset"
452 }, 537 },
453 "response": { 538 "response": {
454 "$ref": "Dataset" 539 "$ref": "Dataset"
455 }, 540 },
456 "scopes": [ 541 "scopes": [
457 "https://www.googleapis.com/auth/fitness .activity.write", 542 "https://www.googleapis.com/auth/fitness .activity.write",
543 "https://www.googleapis.com/auth/fitness .blood_glucose.write",
544 "https://www.googleapis.com/auth/fitness .blood_pressure.write",
458 "https://www.googleapis.com/auth/fitness .body.write", 545 "https://www.googleapis.com/auth/fitness .body.write",
546 "https://www.googleapis.com/auth/fitness .body_temperature.write",
459 "https://www.googleapis.com/auth/fitness .location.write", 547 "https://www.googleapis.com/auth/fitness .location.write",
460 "https://www.googleapis.com/auth/fitness .nutrition.write" 548 "https://www.googleapis.com/auth/fitness .nutrition.write",
549 "https://www.googleapis.com/auth/fitness .oxygen_saturation.write",
550 "https://www.googleapis.com/auth/fitness .reproductive_health.write"
461 ] 551 ]
462 } 552 }
463 } 553 }
464 } 554 }
465 } 555 }
466 }, 556 },
467 "dataset": { 557 "dataset": {
468 "methods": { 558 "methods": {
469 "aggregate": { 559 "aggregate": {
470 "description": "Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple sources can be aggreated into exactly one bucke t type per request.", 560 "description": "Aggregates data of a certain type or stream into buckets divided by a given type of boundary. Multiple data sets of multiple types and from multiple sources can be aggreated into exactly one bucke t type per request.",
(...skipping 13 matching lines...) Expand all
484 "path": "{userId}/dataset:aggregate", 574 "path": "{userId}/dataset:aggregate",
485 "request": { 575 "request": {
486 "$ref": "AggregateRequest" 576 "$ref": "AggregateRequest"
487 }, 577 },
488 "response": { 578 "response": {
489 "$ref": "AggregateResponse" 579 "$ref": "AggregateResponse"
490 }, 580 },
491 "scopes": [ 581 "scopes": [
492 "https://www.googleapis.com/auth/fitness.activit y.read", 582 "https://www.googleapis.com/auth/fitness.activit y.read",
493 "https://www.googleapis.com/auth/fitness.activit y.write", 583 "https://www.googleapis.com/auth/fitness.activit y.write",
584 "https://www.googleapis.com/auth/fitness.blood_g lucose.read",
585 "https://www.googleapis.com/auth/fitness.blood_g lucose.write",
586 "https://www.googleapis.com/auth/fitness.blood_p ressure.read",
587 "https://www.googleapis.com/auth/fitness.blood_p ressure.write",
494 "https://www.googleapis.com/auth/fitness.body.re ad", 588 "https://www.googleapis.com/auth/fitness.body.re ad",
495 "https://www.googleapis.com/auth/fitness.body.wr ite", 589 "https://www.googleapis.com/auth/fitness.body.wr ite",
590 "https://www.googleapis.com/auth/fitness.body_te mperature.read",
591 "https://www.googleapis.com/auth/fitness.body_te mperature.write",
496 "https://www.googleapis.com/auth/fitness.locatio n.read", 592 "https://www.googleapis.com/auth/fitness.locatio n.read",
497 "https://www.googleapis.com/auth/fitness.locatio n.write", 593 "https://www.googleapis.com/auth/fitness.locatio n.write",
498 "https://www.googleapis.com/auth/fitness.nutriti on.read", 594 "https://www.googleapis.com/auth/fitness.nutriti on.read",
499 "https://www.googleapis.com/auth/fitness.nutriti on.write" 595 "https://www.googleapis.com/auth/fitness.nutriti on.write",
596 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.read",
597 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.write",
598 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.read",
599 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.write"
500 ] 600 ]
501 } 601 }
502 } 602 }
503 }, 603 },
504 "sessions": { 604 "sessions": {
505 "methods": { 605 "methods": {
506 "delete": { 606 "delete": {
507 "description": "Deletes a session specified by the g iven session ID.", 607 "description": "Deletes a session specified by the g iven session ID.",
508 "httpMethod": "DELETE", 608 "httpMethod": "DELETE",
509 "id": "fitness.users.sessions.delete", 609 "id": "fitness.users.sessions.delete",
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after
571 "type": "string" 671 "type": "string"
572 } 672 }
573 }, 673 },
574 "path": "{userId}/sessions", 674 "path": "{userId}/sessions",
575 "response": { 675 "response": {
576 "$ref": "ListSessionsResponse" 676 "$ref": "ListSessionsResponse"
577 }, 677 },
578 "scopes": [ 678 "scopes": [
579 "https://www.googleapis.com/auth/fitness.activit y.read", 679 "https://www.googleapis.com/auth/fitness.activit y.read",
580 "https://www.googleapis.com/auth/fitness.activit y.write", 680 "https://www.googleapis.com/auth/fitness.activit y.write",
681 "https://www.googleapis.com/auth/fitness.blood_g lucose.read",
682 "https://www.googleapis.com/auth/fitness.blood_g lucose.write",
683 "https://www.googleapis.com/auth/fitness.blood_p ressure.read",
684 "https://www.googleapis.com/auth/fitness.blood_p ressure.write",
581 "https://www.googleapis.com/auth/fitness.body.re ad", 685 "https://www.googleapis.com/auth/fitness.body.re ad",
582 "https://www.googleapis.com/auth/fitness.body.wr ite", 686 "https://www.googleapis.com/auth/fitness.body.wr ite",
687 "https://www.googleapis.com/auth/fitness.body_te mperature.read",
688 "https://www.googleapis.com/auth/fitness.body_te mperature.write",
583 "https://www.googleapis.com/auth/fitness.locatio n.read", 689 "https://www.googleapis.com/auth/fitness.locatio n.read",
584 "https://www.googleapis.com/auth/fitness.locatio n.write", 690 "https://www.googleapis.com/auth/fitness.locatio n.write",
585 "https://www.googleapis.com/auth/fitness.nutriti on.read", 691 "https://www.googleapis.com/auth/fitness.nutriti on.read",
586 "https://www.googleapis.com/auth/fitness.nutriti on.write" 692 "https://www.googleapis.com/auth/fitness.nutriti on.write",
693 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.read",
694 "https://www.googleapis.com/auth/fitness.oxygen_ saturation.write",
695 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.read",
696 "https://www.googleapis.com/auth/fitness.reprodu ctive_health.write"
587 ] 697 ]
588 }, 698 },
589 "update": { 699 "update": {
590 "description": "Updates or insert a given session.", 700 "description": "Updates or insert a given session.",
591 "httpMethod": "PUT", 701 "httpMethod": "PUT",
592 "id": "fitness.users.sessions.update", 702 "id": "fitness.users.sessions.update",
593 "parameterOrder": [ 703 "parameterOrder": [
594 "userId", 704 "userId",
595 "sessionId" 705 "sessionId"
596 ], 706 ],
(...skipping 26 matching lines...) Expand all
623 }, 733 },
624 "scopes": [ 734 "scopes": [
625 "https://www.googleapis.com/auth/fitness.activit y.write" 735 "https://www.googleapis.com/auth/fitness.activit y.write"
626 ] 736 ]
627 } 737 }
628 } 738 }
629 } 739 }
630 } 740 }
631 } 741 }
632 }, 742 },
633 "revision": "20160907", 743 "revision": "20161128",
634 "rootUrl": "https://www.googleapis.com/", 744 "rootUrl": "https://www.googleapis.com/",
635 "schemas": { 745 "schemas": {
636 "AggregateBucket": { 746 "AggregateBucket": {
637 "id": "AggregateBucket", 747 "id": "AggregateBucket",
638 "properties": { 748 "properties": {
639 "activity": { 749 "activity": {
640 "description": "Available for Bucket.Type.ACTIVITY_TYPE, Buc ket.Type.ACTIVITY_SEGMENT", 750 "description": "Available for Bucket.Type.ACTIVITY_TYPE, Buc ket.Type.ACTIVITY_SEGMENT",
641 "format": "int32", 751 "format": "int32",
642 "type": "integer" 752 "type": "integer"
643 }, 753 },
(...skipping 750 matching lines...) Expand 10 before | Expand all | Expand 10 after
1394 ] 1504 ]
1395 }, 1505 },
1396 "description": "A start time, in milliseconds since epoch, i nclusive.", 1506 "description": "A start time, in milliseconds since epoch, i nclusive.",
1397 "format": "int64", 1507 "format": "int64",
1398 "type": "string" 1508 "type": "string"
1399 } 1509 }
1400 }, 1510 },
1401 "type": "object" 1511 "type": "object"
1402 }, 1512 },
1403 "Value": { 1513 "Value": {
1404 "description": "Holder object for the value of a single field in a d ata point.\n\nA field value has a particular format and is only ever set to one of an integer or a floating point value.", 1514 "description": "Holder object for the value of a single field in a d ata point.\n\nA field value has a particular format and is only ever set to one of an integer or a floating point value. LINT.IfChange",
1405 "id": "Value", 1515 "id": "Value",
1406 "properties": { 1516 "properties": {
1407 "fpVal": { 1517 "fpVal": {
1408 "description": "Floating point value. When this is set, othe r values must not be set.", 1518 "description": "Floating point value. When this is set, othe r values must not be set.",
1409 "format": "double", 1519 "format": "double",
1410 "type": "number" 1520 "type": "number"
1411 }, 1521 },
1412 "intVal": { 1522 "intVal": {
1413 "description": "Integer value. When this is set, other value s must not be set.", 1523 "description": "Integer value. When this is set, other value s must not be set.",
1414 "format": "int32", 1524 "format": "int32",
(...skipping 23 matching lines...) Expand all
1438 "$ref": "MapValue" 1548 "$ref": "MapValue"
1439 } 1549 }
1440 }, 1550 },
1441 "type": "object" 1551 "type": "object"
1442 } 1552 }
1443 }, 1553 },
1444 "servicePath": "fitness/v1/users/", 1554 "servicePath": "fitness/v1/users/",
1445 "title": "Fitness", 1555 "title": "Fitness",
1446 "version": "v1" 1556 "version": "v1"
1447 } 1557 }
OLDNEW
« no previous file with comments | « discovery/googleapis/firebaserules__v1.json ('k') | discovery/googleapis/fusiontables__v1.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698