Chromium Code Reviews

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

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View unified diff |
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 },
(...skipping 47 matching lines...)
58 } 58 }
59 } 59 }
60 } 60 }
61 }, 61 },
62 "basePath": "/fitness/v1/users/", 62 "basePath": "/fitness/v1/users/",
63 "baseUrl": "https://www.googleapis.com/fitness/v1/users/", 63 "baseUrl": "https://www.googleapis.com/fitness/v1/users/",
64 "batchPath": "batch", 64 "batchPath": "batch",
65 "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.",
66 "discoveryVersion": "v1", 66 "discoveryVersion": "v1",
67 "documentationLink": "https://developers.google.com/fit/rest/", 67 "documentationLink": "https://developers.google.com/fit/rest/",
68 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/ijeguRXyVpN9uEUSOI4kjLGOD9E\"", 68 "etag": "\"YWOzh2SDasdU84ArJnpYek-OMdg/PSZLmkjt_9IWTJ6ZQ-VpYeFyZ2w\"",
69 "icons": { 69 "icons": {
70 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp. png", 70 "x16": "https://www.gstatic.com/images/branding/product/1x/googleg_16dp. png",
71 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp. png" 71 "x32": "https://www.gstatic.com/images/branding/product/1x/googleg_32dp. png"
72 }, 72 },
73 "id": "fitness:v1", 73 "id": "fitness:v1",
74 "kind": "discovery#restDescription", 74 "kind": "discovery#restDescription",
75 "name": "fitness", 75 "name": "fitness",
76 "ownerDomain": "google.com", 76 "ownerDomain": "google.com",
77 "ownerName": "Google", 77 "ownerName": "Google",
78 "parameters": { 78 "parameters": {
(...skipping 654 matching lines...)
733 }, 733 },
734 "scopes": [ 734 "scopes": [
735 "https://www.googleapis.com/auth/fitness.activit y.write" 735 "https://www.googleapis.com/auth/fitness.activit y.write"
736 ] 736 ]
737 } 737 }
738 } 738 }
739 } 739 }
740 } 740 }
741 } 741 }
742 }, 742 },
743 "revision": "20161128", 743 "revision": "20170731",
744 "rootUrl": "https://www.googleapis.com/", 744 "rootUrl": "https://www.googleapis.com/",
745 "schemas": { 745 "schemas": {
746 "AggregateBucket": { 746 "AggregateBucket": {
747 "id": "AggregateBucket", 747 "id": "AggregateBucket",
748 "properties": { 748 "properties": {
749 "activity": { 749 "activity": {
750 "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",
751 "format": "int32", 751 "format": "int32",
752 "type": "integer" 752 "type": "integer"
753 }, 753 },
(...skipping 361 matching lines...)
1115 "type": "string" 1115 "type": "string"
1116 }, 1116 },
1117 "type": "array" 1117 "type": "array"
1118 }, 1118 },
1119 "dataStreamId": { 1119 "dataStreamId": {
1120 "annotations": { 1120 "annotations": {
1121 "required": [ 1121 "required": [
1122 "fitness.users.dataSources.update" 1122 "fitness.users.dataSources.update"
1123 ] 1123 ]
1124 }, 1124 },
1125 "description": "A unique identifier for the data stream prod uced by this data source. The identifier includes:\n\n \n- The physical device's manufacturer, model, and serial number (UID). \n- The application's package nam e or name. Package name is used when the data source was created by an Android a pplication. The developer project number is used when the data source was create d by a REST client. \n- The data source's type. \n- The data source's stream nam e. Note that not all attributes of the data source are used as part of the stre am identifier. In particular, the version of the hardware/the application isn't used. This allows us to preserve the same stream through version updates. This a lso means that two DataSource objects may represent the same data stream even if they're not equal.\n\nThe exact format of the data stream ID created by an Andr oid application is: type:dataType.name:application.packageName:device.manufactur er:device.model:device.uid:dataStreamName \n\nThe exact format of the data strea m ID created by a REST client is: type:dataType.name:developer project number:de vice.manufacturer:device.model:device.uid:dataStreamName \n\nWhen any of the opt ional fields that comprise of the data stream ID are blank, they will be omitted from the data stream ID. The minnimum viable data stream ID would be: type:data Type.name:developer project number\n\nFinally, the developer project number is o bfuscated when read by any REST or Android client that did not create the data s ource. Only the data source creator will see the developer project number in cle ar and normal form.", 1125 "description": "A unique identifier for the data stream prod uced by this data source. The identifier includes:\n\n \n- The physical device's manufacturer, model, and serial number (UID). \n- The application's package nam e or name. Package name is used when the data source was created by an Android a pplication. The developer project number is used when the data source was create d by a REST client. \n- The data source's type. \n- The data source's stream nam e. Note that not all attributes of the data source are used as part of the stre am identifier. In particular, the version of the hardware/the application isn't used. This allows us to preserve the same stream through version updates. This a lso means that two DataSource objects may represent the same data stream even if they're not equal.\n\nThe exact format of the data stream ID created by an Andr oid application is: type:dataType.name:application.packageName:device.manufactur er:device.model:device.uid:dataStreamName \n\nThe exact format of the data strea m ID created by a REST client is: type:dataType.name:developer project number:de vice.manufacturer:device.model:device.uid:dataStreamName \n\nWhen any of the opt ional fields that comprise of the data stream ID are blank, they will be omitted from the data stream ID. The minimum viable data stream ID would be: type:dataT ype.name:developer project number\n\nFinally, the developer project number is ob fuscated when read by any REST or Android client that did not create the data so urce. Only the data source creator will see the developer project number in clea r and normal form.",
1126 "type": "string" 1126 "type": "string"
1127 }, 1127 },
1128 "dataStreamName": { 1128 "dataStreamName": {
1129 "description": "The stream name uniquely identifies this par ticular data source among other data sources of the same type from the same unde rlying producer. Setting the stream name is optional, but should be done wheneve r an application exposes two streams for the same data type, or when a device ha s two equivalent sensors.", 1129 "description": "The stream name uniquely identifies this par ticular data source among other data sources of the same type from the same unde rlying producer. Setting the stream name is optional, but should be done wheneve r an application exposes two streams for the same data type, or when a device ha s two equivalent sensors.",
1130 "type": "string" 1130 "type": "string"
1131 }, 1131 },
1132 "dataType": { 1132 "dataType": {
1133 "$ref": "DataType", 1133 "$ref": "DataType",
1134 "annotations": { 1134 "annotations": {
1135 "required": [ 1135 "required": [
(...skipping 412 matching lines...)
1548 "$ref": "MapValue" 1548 "$ref": "MapValue"
1549 } 1549 }
1550 }, 1550 },
1551 "type": "object" 1551 "type": "object"
1552 } 1552 }
1553 }, 1553 },
1554 "servicePath": "fitness/v1/users/", 1554 "servicePath": "fitness/v1/users/",
1555 "title": "Fitness", 1555 "title": "Fitness",
1556 "version": "v1" 1556 "version": "v1"
1557 } 1557 }
OLDNEW
« no previous file with comments | « discovery/googleapis/firebaserules__v1.json ('k') | discovery/googleapis/gamesConfiguration__v1configuration.json » ('j') | no next file with comments »

Powered by Google App Engine