All URIs are relative to http://localhost:8000/api
| Method | HTTP request | Description |
|---|---|---|
| complete_source_o_auth | POST /v1/source_oauths/complete_oauth | Given a source def ID generate an access/refresh token etc. |
| get_source_o_auth_consent | POST /v1/source_oauths/get_consent_url | Given a source connector definition ID, return the URL to the consent screen where to redirect the user to. |
| revoke_source_o_auth_tokens | POST /v1/source_oauths/revoke | Given a source definition ID and workspace ID revoke access/refresh token etc. |
| set_instancewide_source_oauth_params | POST /v1/source_oauths/oauth_params/create | Sets instancewide variables to be used for the oauth flow when creating this source. When set, these variables will be injected into a connector's configuration before any interaction with the connector image itself. This enables running oauth flows with consistent variables e.g: the company's Google Ads developer_token, client_id, and client_secret without the user having to know about these variables. |
crate::models::CompleteOAuthResponse complete_source_o_auth(complete_source_oauth_request) Given a source def ID generate an access/refresh token etc.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| complete_source_oauth_request | CompleteSourceOauthRequest | [required] |
crate::models::CompleteOAuthResponse
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
crate::models::OAuthConsentRead get_source_o_auth_consent(source_oauth_consent_request) Given a source connector definition ID, return the URL to the consent screen where to redirect the user to.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| source_oauth_consent_request | SourceOauthConsentRequest | [required] |
crate::models::OAuthConsentRead
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
revoke_source_o_auth_tokens(revoke_source_oauth_tokens_request) Given a source definition ID and workspace ID revoke access/refresh token etc.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| revoke_source_oauth_tokens_request | RevokeSourceOauthTokensRequest | [required] |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
set_instancewide_source_oauth_params(set_instancewide_source_oauth_params_request_body) Sets instancewide variables to be used for the oauth flow when creating this source. When set, these variables will be injected into a connector's configuration before any interaction with the connector image itself. This enables running oauth flows with consistent variables e.g: the company's Google Ads developer_token, client_id, and client_secret without the user having to know about these variables.
| Name | Type | Description | Required | Notes |
|---|---|---|---|---|
| set_instancewide_source_oauth_params_request_body | SetInstancewideSourceOauthParamsRequestBody | [required] |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]