![]() |
API Documentation
|
GET - retrieves a list of information about third party (i.e. non-Covata) client applications which the Covata user (whose access token is submitted in the request to this endpoint) has approved access to their resources on the Covata Platform.Note: This method takes no parameters.
This API endpoint retrieves a list of information about third party (i.e. non-Covata) client applications which the Covata user (whose access token is submitted in the request to this endpoint) has approved access to their resources on the Covata Platform.
This application approval process is a step that occurs after the user signs in from a third party client application which utilises the authorisation code or implicit OAuth 2.0 grant types - i.e. via the <access-service>/api/oauth/authorise API endpoint.
Such a client application could be one that you or your organisation is developing, where this application integrates with Covata technologies using the Covata API.
Note: Before any client application can be granted access to a Covata user's resources, a SafeShare administrator must first have registered the client application on their Covata Platform instance.
This API endpoint supports requests utilising Covata user accounts with the following roles (as described in the SafeShare Administrator's and Organisation Administrator's Guides):
The Covata Platform's resources available to one of these Covata users (above) is determined by the access token submitted in the header of requests to this endpoint.
The appropriate access token as the Bearer token:
Authorisation: Bearer eyJhbGciOiJSUzI1NiJ9.eyJleHAiOjE0NjcwMTY2NjYsInVzZXJfbmFtZSI6ImFsZXgub...If the request succeeded, then an HTTP response status 200 OK is returned.
For successful requests only, a JSON-formatted response containing the following members is also returned:
applications - An array containing information about all third party client applications which the Covata user (whose access token is submitted in the request to this endpoint) has approved access to their resources on the Covata Platform. One of this array's elements contains the member id, whose value is the application's approval ID, which can be utilised to revoke the access that this application has to the user's resources.
Example (response):