OLD | NEW |
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 }, |
(...skipping 17 matching lines...) Expand all Loading... |
28 } | 28 } |
29 } | 29 } |
30 } | 30 } |
31 }, | 31 }, |
32 "basePath": "/fitness/v1/users/", | 32 "basePath": "/fitness/v1/users/", |
33 "baseUrl": "https://www.googleapis.com/fitness/v1/users/", | 33 "baseUrl": "https://www.googleapis.com/fitness/v1/users/", |
34 "batchPath": "batch", | 34 "batchPath": "batch", |
35 "description": "Stores and accesses user data in the fitness store from apps
on any platform.", | 35 "description": "Stores and accesses user data in the fitness store from apps
on any platform.", |
36 "discoveryVersion": "v1", | 36 "discoveryVersion": "v1", |
37 "documentationLink": "https://developers.google.com/fit/rest/", | 37 "documentationLink": "https://developers.google.com/fit/rest/", |
38 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/C_efOoRNuMwDVzh1-1r-3k_wkJo\"", | 38 "etag": "\"C5oy1hgQsABtYOYIOXWcR3BgYqU/YYTaKGUD7QZsoB7peT0bkV-gPP8\"", |
39 "icons": { | 39 "icons": { |
40 "x16": "http://www.google.com/images/icons/product/search-16.gif", | 40 "x16": "http://www.google.com/images/icons/product/search-16.gif", |
41 "x32": "http://www.google.com/images/icons/product/search-32.gif" | 41 "x32": "http://www.google.com/images/icons/product/search-32.gif" |
42 }, | 42 }, |
43 "id": "fitness:v1", | 43 "id": "fitness:v1", |
44 "kind": "discovery#restDescription", | 44 "kind": "discovery#restDescription", |
45 "name": "fitness", | 45 "name": "fitness", |
46 "ownerDomain": "google.com", | 46 "ownerDomain": "google.com", |
47 "ownerName": "Google", | 47 "ownerName": "Google", |
48 "parameters": { | 48 "parameters": { |
(...skipping 574 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
623 }, | 623 }, |
624 "scopes": [ | 624 "scopes": [ |
625 "https://www.googleapis.com/auth/fitness.activit
y.write" | 625 "https://www.googleapis.com/auth/fitness.activit
y.write" |
626 ] | 626 ] |
627 } | 627 } |
628 } | 628 } |
629 } | 629 } |
630 } | 630 } |
631 } | 631 } |
632 }, | 632 }, |
633 "revision": "20160801", | 633 "revision": "20160907", |
634 "rootUrl": "https://www.googleapis.com/", | 634 "rootUrl": "https://www.googleapis.com/", |
635 "schemas": { | 635 "schemas": { |
636 "AggregateBucket": { | 636 "AggregateBucket": { |
637 "id": "AggregateBucket", | 637 "id": "AggregateBucket", |
638 "properties": { | 638 "properties": { |
639 "activity": { | 639 "activity": { |
640 "description": "Available for Bucket.Type.ACTIVITY_TYPE, Buc
ket.Type.ACTIVITY_SEGMENT", | 640 "description": "Available for Bucket.Type.ACTIVITY_TYPE, Buc
ket.Type.ACTIVITY_SEGMENT", |
641 "format": "int32", | 641 "format": "int32", |
642 "type": "integer" | 642 "type": "integer" |
643 }, | 643 }, |
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
692 "type": "string" | 692 "type": "string" |
693 }, | 693 }, |
694 "dataTypeName": { | 694 "dataTypeName": { |
695 "description": "The data type to aggregate. All data sources
providing this data type will contribute data to the aggregation. The response
will contain a single dataset for this data type name. The dataset will have a d
ata source ID of derived:com.google.:com.google.android.gms:aggregated", | 695 "description": "The data type to aggregate. All data sources
providing this data type will contribute data to the aggregation. The response
will contain a single dataset for this data type name. The dataset will have a d
ata source ID of derived:com.google.:com.google.android.gms:aggregated", |
696 "type": "string" | 696 "type": "string" |
697 } | 697 } |
698 }, | 698 }, |
699 "type": "object" | 699 "type": "object" |
700 }, | 700 }, |
701 "AggregateRequest": { | 701 "AggregateRequest": { |
| 702 "description": "Next id: 10", |
702 "id": "AggregateRequest", | 703 "id": "AggregateRequest", |
703 "properties": { | 704 "properties": { |
704 "aggregateBy": { | 705 "aggregateBy": { |
705 "annotations": { | 706 "annotations": { |
706 "required": [ | 707 "required": [ |
707 "fitness.users.dataset.aggregate" | 708 "fitness.users.dataset.aggregate" |
708 ] | 709 ] |
709 }, | 710 }, |
710 "description": "The specification of data to be aggregated.
At least one aggregateBy spec must be provided. All data that is specified will
be aggregated using the same bucketing criteria. There will be one dataset in th
e response for every aggregateBy spec.", | 711 "description": "The specification of data to be aggregated.
At least one aggregateBy spec must be provided. All data that is specified will
be aggregated using the same bucketing criteria. There will be one dataset in th
e response for every aggregateBy spec.", |
711 "items": { | 712 "items": { |
(...skipping 572 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1284 "ListSessionsResponse": { | 1285 "ListSessionsResponse": { |
1285 "id": "ListSessionsResponse", | 1286 "id": "ListSessionsResponse", |
1286 "properties": { | 1287 "properties": { |
1287 "deletedSession": { | 1288 "deletedSession": { |
1288 "description": "If includeDeleted is set to true in the requ
est, this list will contain sessions deleted with original end times that are wi
thin the startTime and endTime frame.", | 1289 "description": "If includeDeleted is set to true in the requ
est, this list will contain sessions deleted with original end times that are wi
thin the startTime and endTime frame.", |
1289 "items": { | 1290 "items": { |
1290 "$ref": "Session" | 1291 "$ref": "Session" |
1291 }, | 1292 }, |
1292 "type": "array" | 1293 "type": "array" |
1293 }, | 1294 }, |
| 1295 "hasMoreData": { |
| 1296 "description": "Flag to indicate server has more data to tra
nsfer", |
| 1297 "type": "boolean" |
| 1298 }, |
1294 "nextPageToken": { | 1299 "nextPageToken": { |
1295 "description": "The continuation token, which is used to pag
e through large result sets. Provide this value in a subsequent request to retur
n the next page of results.", | 1300 "description": "The continuation token, which is used to pag
e through large result sets. Provide this value in a subsequent request to retur
n the next page of results.", |
1296 "type": "string" | 1301 "type": "string" |
1297 }, | 1302 }, |
1298 "session": { | 1303 "session": { |
1299 "description": "Sessions with an end time that is between st
artTime and endTime of the request.", | 1304 "description": "Sessions with an end time that is between st
artTime and endTime of the request.", |
1300 "items": { | 1305 "items": { |
1301 "$ref": "Session" | 1306 "$ref": "Session" |
1302 }, | 1307 }, |
1303 "type": "array" | 1308 "type": "array" |
(...skipping 129 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1433 "$ref": "MapValue" | 1438 "$ref": "MapValue" |
1434 } | 1439 } |
1435 }, | 1440 }, |
1436 "type": "object" | 1441 "type": "object" |
1437 } | 1442 } |
1438 }, | 1443 }, |
1439 "servicePath": "fitness/v1/users/", | 1444 "servicePath": "fitness/v1/users/", |
1440 "title": "Fitness", | 1445 "title": "Fitness", |
1441 "version": "v1" | 1446 "version": "v1" |
1442 } | 1447 } |
OLD | NEW |