Loading...
Cross shared collection | Cenit Admin

Basic info

Title
Fitness API v1
Image
Thumb fitness api v1 logo
Name
fitness_api_v1
Tags
Summary
Stores and accesses user data in the fitness store from apps on any platform.
Readme

These collection have been automatically generated from a swagger specification

API specs supplied by Image title

Categories
IdTitleDescriptionUpdated at
backendBackendDatabase and server-side technologiesDecember 01, 2016 17:06
1 Categories
Authors
Name
Cenit Team
1 Cross collection authors
Pull count
1
Id
57b1ee85ad9815587a000414
Created at
August 15, 2016 16:32
Updated at
December 02, 2016 13:32

Compute

Snippets
NamespaceNameTypeDescriptionUpdated at
Fitness API v1AggregateBucket.jsonAuto detect - -
Fitness API v1AggregateBy.jsonAuto detect - -
Fitness API v1AggregateRequest.jsonAuto detect - -
Fitness API v1AggregateResponse.jsonAuto detect - -
Fitness API v1Application.jsonAuto detect - -
Fitness API v1BucketByActivity.jsonAuto detect - -
Fitness API v1BucketBySession.jsonAuto detect - -
Fitness API v1BucketByTime.jsonAuto detect - -
Fitness API v1BucketByTimePeriod.jsonAuto detect - -
Fitness API v1DataPoint.jsonAuto detect - -
Fitness API v1DataSource.jsonAuto detect - -
Fitness API v1DataType.jsonAuto detect - -
Fitness API v1DataTypeField.jsonAuto detect - -
Fitness API v1Dataset.jsonAuto detect - -
Fitness API v1Device.jsonAuto detect - -
Fitness API v1ListDataSourcesResponse.jsonAuto detect - -
Fitness API v1ListSessionsResponse.jsonAuto detect - -
Fitness API v1MapValue.jsonAuto detect - -
Fitness API v1Session.jsonAuto detect - -
Fitness API v1Value.jsonAuto detect - -
Fitness API v1ValueMapValEntry.jsonAuto detect - -
Fitness API v1alt.jsonAuto detect - -
Fitness API v1fields.jsonAuto detect - -
Fitness API v1key.jsonAuto detect - -
Fitness API v1oauth_token.jsonAuto detect - -
Fitness API v1prettyPrint.jsonAuto detect - -
Fitness API v1quotaUser.jsonAuto detect - -
Fitness API v1userIp.jsonAuto detect - -
28 Snippets

Connectors

Connections
NamespaceNameUrlKeyTokenAuthorizationUpdated at
Fitness API v1Connectionhttps://www.googleapis.com/fitness/v1/users -
1 Connections
Webhooks
NamespaceNamePathMethodDescriptionAuthorizationUpdated at
Fitness API v1GET {userid} Datasources/{{userId}}/dataSourcesgetLists all data sources that are visible to the developer, using the OAuth scopes provided. The list is not exhaustive; the user may have private data sources that are only visible to other developers, or calls using other scopes. -
Fitness API v1POST {userid} Datasources/{{userId}}/dataSourcespostCreates a new data source that is unique across all data sources belonging to this user. The data stream ID field can be omitted and will be generated by the server with the correct format. The data stream ID is an ordered combination of some fields from the data source. In addition to the data source fields reflected into the data source ID, the developer project number that is authenticated when creating the data source is included. This developer project number is obfuscated when read by any other developer reading public data types. -
Fitness API v1DELETE {userid} Datasources {datasourceid}/{{userId}}/dataSources/{{dataSourceId}}deleteDeletes the specified data source. The request will fail if the data source contains any data points. -
Fitness API v1GET {userid} Datasources {datasourceid}/{{userId}}/dataSources/{{dataSourceId}}getReturns the specified data source. -
Fitness API v1PATCH {userid} Datasources {datasourceid}/{{userId}}/dataSources/{{dataSourceId}}patchUpdates the specified data source. The dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be modified. Data sources are identified by their dataStreamId. This method supports patch semantics. -
Fitness API v1PUT {userid} Datasources {datasourceid}/{{userId}}/dataSources/{{dataSourceId}}putUpdates the specified data source. The dataStreamId, dataType, type, dataStreamName, and device properties with the exception of version, cannot be modified. Data sources are identified by their dataStreamId. -
Fitness API v1DELETE {userid} Datasources {datasourceid} Datasets {datasetid}/{{userId}}/dataSources/{{dataSourceId}}/datasets/{{datasetId}}deletePerforms an inclusive delete of all data points whose start and end times have any overlap with the time range 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 (such 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. -
Fitness API v1GET {userid} Datasources {datasourceid} Datasets {datasetid}/{{userId}}/dataSources/{{dataSourceId}}/datasets/{{datasetId}}getReturns a dataset containing all data points whose start and end times overlap with the specified range of the 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 time is greater than or equal to the dataset start time. -
Fitness API v1PATCH {userid} Datasources {datasourceid} Datasets {datasetid}/{{userId}}/dataSources/{{dataSourceId}}/datasets/{{datasetId}}patchAdds data points to a dataset. The dataset need not be previously created. All points within the given dataset will be returned with subsquent calls to retrieve this dataset. Data points can belong to more than one dataset. This method does not use patch semantics. -
Fitness API v1POST {userid} Dataset:aggregate/{{userId}}/dataset:aggregatepostAggregates 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 bucket type per request. -
Fitness API v1GET {userid} Sessions/{{userId}}/sessionsgetLists sessions previously created. -
Fitness API v1DELETE {userid} Sessions {sessionid}/{{userId}}/sessions/{{sessionId}}deleteDeletes a session specified by the given session ID. -
Fitness API v1PUT {userid} Sessions {sessionid}/{{userId}}/sessions/{{sessionId}}putUpdates or insert a given session. -
13 Webhooks
Connection Roles
NamespaceNameWebhooksConnectionsUpdated at
Fitness API v1Connections -
1 Connection Roles

Data

Data Types
NamespaceNameSlugTypeStorage sizeUpdated at
Fitness API v1AggregateBucketaggregate_bucketJson Data Type0 Bytes -
Fitness API v1AggregateByaggregate_byJson Data Type0 Bytes -
Fitness API v1AggregateRequestaggregate_requestJson Data Type0 Bytes -
Fitness API v1AggregateResponseaggregate_responseJson Data Type0 Bytes -
Fitness API v1ApplicationapplicationJson Data Type0 Bytes -
Fitness API v1BucketByActivitybucket_by_activityJson Data Type0 Bytes -
Fitness API v1BucketBySessionbucket_by_sessionJson Data Type0 Bytes -
Fitness API v1BucketByTimebucket_by_timeJson Data Type0 Bytes -
Fitness API v1BucketByTimePeriodbucket_by_time_periodJson Data Type0 Bytes -
Fitness API v1DataPointdatapointJson Data Type0 Bytes -
Fitness API v1DataSourcedatasourceJson Data Type0 Bytes -
Fitness API v1DataTypedatatypeJson Data Type0 Bytes -
Fitness API v1DataTypeFielddata_type_fieldJson Data Type0 Bytes -
Fitness API v1DatasetdatasetJson Data Type0 Bytes -
Fitness API v1DevicedeviceJson Data Type0 Bytes -
Fitness API v1ListDataSourcesResponselist_data_sources_responseJson Data Type0 Bytes -
Fitness API v1ListSessionsResponselist_sessions_responseJson Data Type0 Bytes -
Fitness API v1MapValuemapvalueJson Data Type0 Bytes -
Fitness API v1SessionsessionJson Data Type0 Bytes -
Fitness API v1ValuevalueJson Data Type0 Bytes -
Fitness API v1ValueMapValEntryvalue_map_val_entryJson Data Type0 Bytes -
Fitness API v1altparam_altJson Data Type0 Bytes -
Fitness API v1fieldsparam_fieldsJson Data Type0 Bytes -
Fitness API v1keyparam_keyJson Data Type0 Bytes -
Fitness API v1oauth_tokenparam_oauth_tokenJson Data Type0 Bytes -
Fitness API v1prettyPrintparam_pretty_printJson Data Type0 Bytes -
Fitness API v1quotaUserparam_quotauserJson Data Type0 Bytes -
Fitness API v1userIpparam_useripJson Data Type0 Bytes -
28 Data Types

Security

Authorizations
NamespaceNameStatusTypeUpdated at
Fitness API v1Oauth 2 AuthorizationUnauthorizedOauth 2 Authorization -
1 Authorizations
OAuth 2.0 Scopes
ProviderNameDescriptionUpdated at
https://www.googleapis.com/auth/fitness.activity.readView your activity information in Google Fit -
https://www.googleapis.com/auth/fitness.activity.writeView and store your activity information in Google Fit -
https://www.googleapis.com/auth/fitness.body.readView body sensor information in Google Fit -
https://www.googleapis.com/auth/fitness.body.writeView and store body sensor data in Google Fit -
https://www.googleapis.com/auth/fitness.location.readView your stored location data in Google Fit -
https://www.googleapis.com/auth/fitness.location.writeView and store your location data in Google Fit -
https://www.googleapis.com/auth/fitness.nutrition.readView nutrition information in Google Fit -
https://www.googleapis.com/auth/fitness.nutrition.writeView and store nutrition information in Google Fit -
8 OAuth 2.0 Scopes

Config

Namespaces
NameSlugUpdated at
Fitness API v1fitness_api_v1 -
1 Namespaces

Metadata