connectors

Sync with data source

The update method tells the QM Connector Framework to check with the data provider (such as Fitbit or MyFitnessPal) and retrieve any new measurements available.

get/v3/connectors/{connectorName}/update

Request

  • Base URL: https://api.curedao.org/api
  • URL: https://api.curedao.org/api/v3/connectors/{connectorName}/update
  • Auth: one of:
    • HTTP bearer
    • OAuth 2 (authorization code, authorization URL https://api.curedao.org/api/v1/oauth/authorize, token URL https://api.curedao.org/api/v1/oauth/token, scopes: basic)

Path parameters

connectorName'facebook' | 'fitbit' | 'github' | 'googlecalendar' | 'googlefit' | 'medhelper' | 'mint' | 'moodpanda' | 'moodscope' | 'myfitnesspal' | 'mynetdiary' | 'netatmo' | 'rescuetime' | 'runkeeper' | 'slack' | 'sleepcloud' | 'slice' | 'up' | 'whatpulse' | 'withings' | 'worldweatheronline' | 'foursquare' | 'strava' | 'gmail' required

Lowercase system name of the source application or device. Get a list of available connectors from the /v3/connectors/list endpoint.

Query parameters

userIdnumber

User's id

Response

Connection Successful

Changes

No recorded changes to this operation across all 10 revisions of this API.