Skip to content
This repository has been archived by the owner on Jun 29, 2021. It is now read-only.

adds docs for integrations api and updates API schema definitions #15

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

Philo
Copy link
Contributor

@Philo Philo commented Jun 7, 2018

No description provided.

@Philo Philo self-assigned this Jun 7, 2018
@Philo Philo requested review from gjstockham and jmcd June 7, 2018 12:35
@@ -0,0 +1,75 @@
# Integrations API

Integrations can be established between a Health platform account and any configured 3rd party service. This connection can be established and revoked by an individual and allows the Health platform to conenct into the 3rd party service using an account specified my an individual. Integrations utilise OAuth2 protocols to securely allow connectivity and allows the Health platform to interactive with specific scopes and data as consented by the owner of the 3rd party service account.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: "conenct"
typo: "to interactive"
commas: and ... and


## Using Integrations as an application developer

As an application developer you can utilise these connections to perform specific integration actions on behalf of a logged in Health platform user and a 3rd party service within your client application, however the Health platform will acts as a gatekepper between your application and the 3rd party to protect the flow and quality of information passing between you, the health platform and a 3rd party.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: "gatekepper"


## Response

An array of json objects representing each integration your client is trusted to use, along with some status information
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

capitalize "json"


## Using the `connectUri` to initiate a request to establish an integration connection

The `connectUri` is returned from a call to the integrations status api endpoint and returning a uri that can be used by the client application should the integration not be established, redirecting will begin the connection process, forwarding the user to the login/consent pages for the 3rd party service. Once the connection is establioshed the user will be returned to the health platform integrations summary page by default. The `connectUri` supports additional query parameters that can be used to redirect back into your application when the integration connection is completed (whether successful or not):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

capitalize "api" "uri"


## Using the `connectUri` to initiate a request to establish an integration connection

The `connectUri` is returned from a call to the integrations status api endpoint and returning a uri that can be used by the client application should the integration not be established, redirecting will begin the connection process, forwarding the user to the login/consent pages for the 3rd party service. Once the connection is establioshed the user will be returned to the health platform integrations summary page by default. The `connectUri` supports additional query parameters that can be used to redirect back into your application when the integration connection is completed (whether successful or not):
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

typo: "establioshed"
consider breaking up long sentences. a
void content in parens.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants