{"openapi":"3.1.0","info":{"title":"Apizie","version":"2.0.0","description":"One API key, one envelope, many public data sources."},"servers":[{"url":"https://apizie.tech"}],"security":[{"ApiKeyAuth":[]}],"paths":{"/v1/dev-tools:google-health/health-projects-subscribers-list":{"get":{"operationId":"dev_tools_google_health_health_projects_subscribers_list","summary":"Lists all subscribers registered within the owned Google Cloud Project.","description":"GET /v4/{+parent}/subscribers","tags":["dev-tools"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of subscribers to return. The service may return fewer than this value. If unspecified, at most 50…","schema":{"type":"integer","description":"Optional. The maximum number of subscribers to return. The service may return fewer than this value. If unspecified, at most 50…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `ListSubscribers` call. Provide this to retrieve the subsequent page. When paginating,…","schema":{"type":"string","description":"Optional. A page token, received from a previous `ListSubscribers` call. Provide this to retrieve the subsequent page. When paginating,…"}},{"name":"parent","in":"query","required":true,"description":"Required. The parent, which owns this collection of subscribers. Format: projects/{project}","schema":{"type":"string","description":"Required. The parent, which owns this collection of subscribers. Format: projects/{project}"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-projects-subscribers-create":{"post":{"operationId":"dev_tools_google_health_health_projects_subscribers_create","summary":"Registers a new subscriber endpoint to receive notifications. A subscriber represents an application or…","description":"POST /v4/{+parent}/subscribers","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent resource where this subscriber will be created. Format: projects/{project_number} Example: projects/1234567890"},"subscriberId":{"type":"string","description":"Optional. The ID to use for the subscriber, which will become the final component of the subscriber's resource name. This value should be…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-users-paired-devices-get":{"get":{"operationId":"dev_tools_google_health_health_users_paired_devices_get","summary":"Returns user's Device.","description":"GET /v4/{+name}","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The name of the device to retrieve. Format: users/{user}/devices/{device}","schema":{"type":"string","description":"Required. The name of the device to retrieve. Format: users/{user}/devices/{device}"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-users-data-types-data-points-patch":{"post":{"operationId":"dev_tools_google_health_health_users_data_types_data_points_patch","summary":"Updates a single identifiable data point. If a data point with the specified `name` is not found, the…","description":"PATCH /v4/{+name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name","body"],"properties":{"name":{"type":"string","description":"Identifier. Data point name, only supported for the subset of identifiable data types. For the majority of the data types, individual data…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-projects-subscribers-subscriptions-delete":{"post":{"operationId":"dev_tools_google_health_health_projects_subscribers_subscriptions_delete","summary":"Deletes a specific user subscription, stopping notifications for this user to this subscriber.","description":"DELETE /v4/{+name}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["name"],"properties":{"name":{"type":"string","description":"Required. The resource name of the subscription to delete. Format:…"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-projects-subscribers-subscriptions-list":{"get":{"operationId":"dev_tools_google_health_health_projects_subscribers_subscriptions_list","summary":"Lists all active subscriptions for a given subscriber. This can be filtered, for example, by user or data…","description":"GET /v4/{+parent}/subscriptions","tags":["dev-tools"],"parameters":[{"name":"filter","in":"query","required":false,"description":"Optional. A filter to apply to the list of subscriptions. The filter syntax is described in https://google.aip.dev/160. The filter can be…","schema":{"type":"string","description":"Optional. A filter to apply to the list of subscriptions. The filter syntax is described in https://google.aip.dev/160. The filter can be…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50…","schema":{"type":"integer","description":"Optional. The maximum number of subscriptions to return. The service may return fewer than this value. If unspecified, at most 50…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `ListSubscriptions` call. Provide this to retrieve the subsequent page. When paginating,…","schema":{"type":"string","description":"Optional. A page token, received from a previous `ListSubscriptions` call. Provide this to retrieve the subsequent page. When paginating,…"}},{"name":"parent","in":"query","required":true,"description":"Required. The parent subscriber. Format: projects/{project}/subscribers/{subscriber} The {subscriber} ID is user-settable (4-36…","schema":{"type":"string","description":"Required. The parent subscriber. Format: projects/{project}/subscribers/{subscriber} The {subscriber} ID is user-settable (4-36…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-projects-subscribers-subscriptions-create":{"post":{"operationId":"dev_tools_google_health_health_projects_subscribers_subscriptions_create","summary":"Creates a subscription for a specific user to a specific subscriber. This method requires the subscriber to…","description":"POST /v4/{+parent}/subscriptions","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent subscriber. Format: projects/{project}/subscribers/{subscriber} The {subscriber} ID is user-settable (4-36…"},"subscriptionId":{"type":"string","description":"Optional. The {subscription_id} is user-settable (4-36 chars, matching /[a-z]([a-z0-9-]{2,34}[a-z0-9])/) or system-generated otherwise. If…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-shl-m-get-shl-manifest":{"post":{"operationId":"dev_tools_google_health_health_shl_m_get_shl_manifest","summary":"Forward a manifest request for a given SHL","description":"POST /v4/shl/m/{externalShlId}","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["externalShlId","body"],"properties":{"externalShlId":{"type":"string","description":"Required. External ID mapping to a ShlSharedLinkCapabilityToken object See…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-shl-r-get":{"get":{"operationId":"dev_tools_google_health_health_shl_r_get","summary":"Forward a resource request for a given SHL","description":"GET /v4/shl/r/{externalShlId}/{resourceToken}","tags":["dev-tools"],"parameters":[{"name":"externalShlId","in":"query","required":true,"description":"Required. External ID mapping to a ShlSharedLinkCapabilityToken object See…","schema":{"type":"string","description":"Required. External ID mapping to a ShlSharedLinkCapabilityToken object See…"}},{"name":"resourceToken","in":"query","required":true,"description":"Required. Encoded, encrypted message containing resource access details","schema":{"type":"string","description":"Required. Encoded, encrypted message containing resource access details"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-users-data-types-data-points-batch-delete":{"post":{"operationId":"dev_tools_google_health_health_users_data_types_data_points_batch_delete","summary":"Delete a batch of identifyable data points.","description":"POST /v4/{+parent}/dataPoints:batchDelete","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Optional. Parent (data type) for the Data Point collection Format: `users/{user}/dataTypes/{data_type}`, e.g.: -…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-users-data-types-data-points-list":{"get":{"operationId":"dev_tools_google_health_health_users_data_types_data_points_list","summary":"Query user health and fitness data points.","description":"GET /v4/{+parent}/dataPoints","tags":["dev-tools"],"parameters":[{"name":"dataSourceFamily","in":"query","required":false,"description":"Optional. The data source family name to filter by. If empty, data points from all available data sources will be returned. Format:…","schema":{"type":"string","description":"Optional. The data source family name to filter by. If empty, data points from all available data sources will be returned. Format:…"}},{"name":"filter","in":"query","required":false,"description":"Optional. Filter expression following https://google.aip.dev/160. A time range (either physical or civil) can be specified. The supported…","schema":{"type":"string","description":"Optional. Filter expression following https://google.aip.dev/160. A time range (either physical or civil) can be specified. The supported…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of data points to return. If unspecified, at most 1440 data points will be returned. The maximum page size is…","schema":{"type":"integer","description":"Optional. The maximum number of data points to return. If unspecified, at most 1440 data points will be returned. The maximum page size is…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The `next_page_token` from a previous request, if any.","schema":{"type":"string","description":"Optional. The `next_page_token` from a previous request, if any."}},{"name":"parent","in":"query","required":true,"description":"Required. Parent data type of the Data Point collection. Format: `users/{user}/dataTypes/{data_type}`, e.g.: - `users/me/dataTypes/steps`…","schema":{"type":"string","description":"Required. Parent data type of the Data Point collection. Format: `users/{user}/dataTypes/{data_type}`, e.g.: - `users/me/dataTypes/steps`…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-users-data-types-data-points-create":{"post":{"operationId":"dev_tools_google_health_health_users_data_types_data_points_create","summary":"Creates a single identifiable data point.","description":"POST /v4/{+parent}/dataPoints","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. The parent resource name where the data point will be created. Format: `users/{user}/dataTypes/{data_type}`, e.g.: -…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-users-data-types-data-points-daily-roll-up":{"post":{"operationId":"dev_tools_google_health_health_users_data_types_data_points_daily_roll_up","summary":"Roll up data points over civil time intervals for supported data types.","description":"POST /v4/{+parent}/dataPoints:dailyRollUp","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. Parent data type of the Data Point collection. Format: `users/{user}/dataTypes/{data_type}`, e.g.: - `users/me/dataTypes/steps`…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-users-data-types-data-points-export-exercise-tcx":{"get":{"operationId":"dev_tools_google_health_health_users_data_types_data_points_export_exercise_tcx","summary":"Exports exercise data in TCX format. **IMPORTANT:** HTTP clients must append `?alt=media` to the request URL…","description":"GET /v4/{+name}:exportExerciseTcx","tags":["dev-tools"],"parameters":[{"name":"name","in":"query","required":true,"description":"Required. The resource name of the exercise data point to export. Format: `users/{user}/dataTypes/exercise/dataPoints/{data_point}`…","schema":{"type":"string","description":"Required. The resource name of the exercise data point to export. Format: `users/{user}/dataTypes/exercise/dataPoints/{data_point}`…"}},{"name":"partialData","in":"query","required":false,"description":"Optional. Indicates whether to include the TCX data points when the GPS data is not available. If not specified, defaults to `false` and…","schema":{"type":"boolean","description":"Optional. Indicates whether to include the TCX data points when the GPS data is not available. If not specified, defaults to `false` and…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-users-data-types-data-points-reconcile":{"get":{"operationId":"dev_tools_google_health_health_users_data_types_data_points_reconcile","summary":"Reconcile data points from multiple data sources into a single data stream.","description":"GET /v4/{+parent}/dataPoints:reconcile","tags":["dev-tools"],"parameters":[{"name":"dataSourceFamily","in":"query","required":false,"description":"Optional. The data source family name to reconcile. If empty, data points from all data sources will be reconciled. Format:…","schema":{"type":"string","description":"Optional. The data source family name to reconcile. If empty, data points from all data sources will be reconciled. Format:…"}},{"name":"filter","in":"query","required":false,"description":"Optional. Filter expression based on https://aip.dev/160. A time range, either physical or civil, can be specified. See the…","schema":{"type":"string","description":"Optional. Filter expression based on https://aip.dev/160. A time range, either physical or civil, can be specified. See the…"}},{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of data points to return. If unspecified, at most 1440 data points will be returned. The maximum page size is…","schema":{"type":"integer","description":"Optional. The maximum number of data points to return. If unspecified, at most 1440 data points will be returned. The maximum page size is…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. The `next_page_token` from a previous request, if any.","schema":{"type":"string","description":"Optional. The `next_page_token` from a previous request, if any."}},{"name":"parent","in":"query","required":true,"description":"Required. Parent data type of the Data Point collection. Format: `users/{user}/dataTypes/{data_type}`, e.g.: - `users/me/dataTypes/steps`…","schema":{"type":"string","description":"Required. Parent data type of the Data Point collection. Format: `users/{user}/dataTypes/{data_type}`, e.g.: - `users/me/dataTypes/steps`…"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-users-data-types-data-points-roll-up":{"post":{"operationId":"dev_tools_google_health_health_users_data_types_data_points_roll_up","summary":"Roll up data points over physical time intervals for supported data types.","description":"POST /v4/{+parent}/dataPoints:rollUp","tags":["dev-tools"],"parameters":[],"requestBody":{"required":true,"content":{"application/json":{"schema":{"type":"object","required":["parent","body"],"properties":{"parent":{"type":"string","description":"Required. Parent data type of the Data Point collection. Format: `users/{user}/dataTypes/{data_type}`, e.g.: - `users/me/dataTypes/steps`…"},"body":{"type":"object","description":"JSON request body"}}}}}},"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":0,"x-apizie-min-plan":null,"x-apizie-bulk":false,"x-apizie-status":"byok"}},"/v1/dev-tools:google-health/health-users-paired-devices-list":{"get":{"operationId":"dev_tools_google_health_health_users_paired_devices_list","summary":"Returns the user's list of paired 1P trackers and smartwatches.","description":"GET /v4/{+parent}/pairedDevices","tags":["dev-tools"],"parameters":[{"name":"pageSize","in":"query","required":false,"description":"Optional. The maximum number of devices to return. The service may return fewer than this value. If unspecified, at most 5 devices will be…","schema":{"type":"integer","description":"Optional. The maximum number of devices to return. The service may return fewer than this value. If unspecified, at most 5 devices will be…"}},{"name":"pageToken","in":"query","required":false,"description":"Optional. A page token, received from a previous `ListPairedDevices` call. Provide this to retrieve the subsequent page. When paginating,…","schema":{"type":"string","description":"Optional. A page token, received from a previous `ListPairedDevices` call. Provide this to retrieve the subsequent page. When paginating,…"}},{"name":"parent","in":"query","required":true,"description":"Required. The parent, which owns this collection of devices. Format: users/{user}","schema":{"type":"string","description":"Required. The parent, which owns this collection of devices. Format: users/{user}"}}],"responses":{"200":{"description":"Success","content":{"application/json":{"schema":{"$ref":"#/components/schemas/RunEnvelope"}}}},"4XX":{"$ref":"#/components/responses/Error"},"5XX":{"$ref":"#/components/responses/Error"}},"x-apizie-cache-ttl":60,"x-apizie-min-plan":null,"x-apizie-bulk":true,"x-apizie-status":"byok"}}},"components":{"securitySchemes":{"ApiKeyAuth":{"type":"apiKey","in":"header","name":"x-api-key"}},"schemas":{"RunEnvelope":{"type":"object","required":["project","data","timestamp"],"properties":{"project":{"type":"string","example":"dev-tools:hash"},"data":{},"timestamp":{"type":"string","format":"date-time"}}},"ErrorEnvelope":{"type":"object","properties":{"content":{},"message":{"type":"string"},"errors":{"type":"array","items":{}},"error":{"type":"object","properties":{"code":{"type":"string"},"message":{"type":"string"}}}}}},"responses":{"Error":{"description":"Invalid key, plan gate, rate limit or upstream failure","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ErrorEnvelope"}}}}}}}