Pathfix has a single pattern for calls to all providers. Changing the user_idand public_keyprovides the endpoint with the instruction to invoke the correct access_token needed to to complete the API request. The list of supported OAuth Providers names can be found Provider reference
An example of how a call will be made to Google Calendar to get a List of Calendars for the connected user. Assumptions
- Your application user is "email@example.com"
- Your Pathfix Application public key is "aaaa-bbbb-cccc-dddd"
- The user firstname.lastname@example.org has previously logged into your solution and connected their Google Calendar.
The data returned from the provider (Google Calendar) will be container in the rows.data . Documentation about the information in returned can be found at the provider API documentation.
List of ERROR-TYPES and their description can be found here Error codes