skip to main content
Hybrid Data Pipeline API reference : Management API : OAuth API for Google Analytics connectivity : OAuth profiles API
  

Try Now
OAuth profiles API
The OAuth profiles API permits Hybrid Data Pipeline access to Google Analytics through the creation of an OAuth profile object. To complete OAuth authorization, the OAuth profile object provides OAuth refresh and access tokens to Google Analytics. OAuth profiles are created or selected for data sources, and a single OAuth profile can be used for multiple data sources on a Google Analytics data store. Since OAuth profiles are associated with data sources, a user must have a corresponding data source permission to create, view, modify, or delete OAuth profiles. For example, to create an OAuth profile, a user must have the CreateDataSource (1) permission.
The following table lists the operations that can be performed with the OAuth profiles API.
Task
Request
URL
GET
<myserver>:<port>/api/mgmt/oauthprofiles
POST
https://<myserver>:<port>/api/mgmt/oauthprofiles
GET
https://<myserver>:<port>/api/mgmt/oauthprofiles/{id}
PUT
https://<myserver>:<port>/api/mgmt/oauthprofiles/{id}
DELETE
https://<myserver>:<port>/api/mgmt/oauthprofiles/{id}
GET
https://<myserver>:<port>/api/mgmt/oauthprofiles/{id}/stats
* Get OAuth profiles
* Create an OAuth profile
* Get an OAuth profile
* Update an OAuth profile
* Delete the specified OAuthProfile
* Get statistics for an OAuth profile