You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[create_destination](docs/sdks/destinations/README.md#create_destination) - Create a destination
86
86
*[delete_destination](docs/sdks/destinations/README.md#delete_destination) - Delete a Destination
@@ -89,14 +89,14 @@ if res.connection_response is not None:
89
89
*[patch_destination](docs/sdks/destinations/README.md#patch_destination) - Update a Destination
90
90
*[put_destination](docs/sdks/destinations/README.md#put_destination) - Update a Destination and fully overwrite it
91
91
92
-
### [jobs](docs/sdks/jobs/README.md)
92
+
### [.jobs](docs/sdks/jobs/README.md)
93
93
94
94
*[cancel_job](docs/sdks/jobs/README.md#cancel_job) - Cancel a running Job
95
95
*[create_job](docs/sdks/jobs/README.md#create_job) - Trigger a sync or reset job of a connection
96
96
*[get_job](docs/sdks/jobs/README.md#get_job) - Get Job status and details
97
97
*[list_jobs](docs/sdks/jobs/README.md#list_jobs) - List Jobs by sync type
98
98
99
-
### [sources](docs/sdks/sources/README.md)
99
+
### [.sources](docs/sdks/sources/README.md)
100
100
101
101
*[create_source](docs/sdks/sources/README.md#create_source) - Create a source
102
102
*[delete_source](docs/sdks/sources/README.md#delete_source) - Delete a Source
@@ -106,11 +106,11 @@ if res.connection_response is not None:
106
106
*[patch_source](docs/sdks/sources/README.md#patch_source) - Update a Source
107
107
*[put_source](docs/sdks/sources/README.md#put_source) - Update a Source and fully overwrite it
108
108
109
-
### [streams](docs/sdks/streams/README.md)
109
+
### [.streams](docs/sdks/streams/README.md)
110
110
111
111
*[get_stream_properties](docs/sdks/streams/README.md#get_stream_properties) - Get stream properties
112
112
113
-
### [workspaces](docs/sdks/workspaces/README.md)
113
+
### [.workspaces](docs/sdks/workspaces/README.md)
114
114
115
115
*[create_or_update_workspace_o_auth_credentials](docs/sdks/workspaces/README.md#create_or_update_workspace_o_auth_credentials) - Create OAuth override credentials for a workspace and source type.
116
116
*[create_workspace](docs/sdks/workspaces/README.md#create_workspace) - Create a workspace
@@ -144,8 +144,6 @@ Here's an example of one such pagination call:
144
144
# Error Handling
145
145
146
146
Handling errors in your SDK should largely match your expectations. All operations return a response object or raise an error. If Error objects are specified in your OpenAPI Spec, the SDK will raise the appropriate Error type.
147
-
148
-
149
147
<!-- End Error Handling -->
150
148
151
149
@@ -163,19 +161,18 @@ You can override the default server globally by passing a server index to the `s
163
161
164
162
For example:
165
163
166
-
167
164
```python
168
165
import airbyte
169
166
from airbyte.models import shared
170
167
171
168
s = airbyte.Airbyte(
169
+
server_idx=0,
172
170
security=shared.Security(
173
171
basic_auth=shared.SchemeBasicAuth(
174
172
password="",
175
173
username="",
176
174
),
177
175
),
178
-
server_idx=0
179
176
)
180
177
181
178
req = shared.ConnectionCreateRequest(
@@ -214,19 +211,18 @@ if res.connection_response is not None:
214
211
215
212
The default server can also be overridden globally by passing a URL to the `server_url: str` optional parameter when initializing the SDK client instance. For example:
Your SDK supports the following security schemes globally:
289
+
290
+
| Name | Type | Scheme |
291
+
| ------------- | ------------- | ------------- |
292
+
|`basic_auth`| http | HTTP Basic |
293
+
|`bearer_auth`| http | HTTP Bearer |
294
+
295
+
You can set the security parameters through the `security` optional parameter when initializing the SDK client instance. The selected scheme will be used by default to authenticate with the API for all operations that support it. For example:
|`access_token`|*str*|:heavy_check_mark:| The access token generated for your developer application. Refer to our <ahref='https://docs.airbyte.com/integrations/sources/linkedin-ads#setup-guide'>documentation</a> for more information. |
Determines the report time of action stats. For example, if a person saw the ad on Jan 1st but converted on Jan 2nd, when you query the API with action_report_time=impression, you see a conversion on Jan 1st. When you query the API with action_report_time=conversion, you see a conversion on Jan 2nd.
| `name` | *str* | :heavy_check_mark: | The name for the custom report. |
11
+
| `pivot_by` | [shared.PivotCategory](../../models/shared/pivotcategory.md) | :heavy_check_mark: | Choose a category to pivot your analytics report around. This selection will organize your data based on the chosen attribute, allowing you to analyze trends and performance from different perspectives. |
12
+
| `time_granularity` | [shared.TimeGranularity](../../models/shared/timegranularity.md) | :heavy_check_mark: | Choose how to group the data in your report by time. The options are:<br>- 'ALL': A single result summarizing the entire time range.<br>- 'DAILY': Group results by each day.<br>- 'MONTHLY': Group results by each month.<br>- 'YEARLY': Group results by each year.<br>Selecting a time grouping helps you analyze trends and patterns over different time periods. |
|`key_encrypting_key`|*Optional[str]*|:heavy_minus_sign:| The key, base64-encoded. Must be either 128, 192, or 256 bits. Leave blank to have Airbyte generate an ephemeral key for each sync. |
0 commit comments