@@ -79,15 +79,21 @@ Deletes an existing data source.
7979
8080### Example
8181
82+ * Bearer Authentication (bearerAuth):
8283``` python
8384from __future__ import print_function
8485import time
8586import stitch_connect_client
8687from stitch_connect_client.rest import ApiException
8788from pprint import pprint
89+ configuration = stitch_connect_client.Configuration()
90+ # Configure Bearer authorization: bearerAuth
91+ configuration.access_token = ' YOUR_BEARER_TOKEN'
8892
93+ # Defining host is optional and default to https://api.stitchdata.com
94+ configuration.host = " https://api.stitchdata.com"
8995# Create an instance of the API class
90- api_instance = stitch_connect_client.SourcesApi()
96+ api_instance = stitch_connect_client.SourcesApi(stitch_connect_client.ApiClient(configuration) )
9197source_id = ' source_id_example' # str | The ID of the source
9298
9399try :
@@ -109,7 +115,7 @@ void (empty response body)
109115
110116### Authorization
111117
112- No authorization required
118+ [ bearerAuth ] ( ../README.md#bearerAuth )
113119
114120### HTTP request headers
115121
@@ -358,15 +364,21 @@ Updates an existing data source.
358364
359365### Example
360366
367+ * Bearer Authentication (bearerAuth):
361368``` python
362369from __future__ import print_function
363370import time
364371import stitch_connect_client
365372from stitch_connect_client.rest import ApiException
366373from pprint import pprint
374+ configuration = stitch_connect_client.Configuration()
375+ # Configure Bearer authorization: bearerAuth
376+ configuration.access_token = ' YOUR_BEARER_TOKEN'
367377
378+ # Defining host is optional and default to https://api.stitchdata.com
379+ configuration.host = " https://api.stitchdata.com"
368380# Create an instance of the API class
369- api_instance = stitch_connect_client.SourcesApi()
381+ api_instance = stitch_connect_client.SourcesApi(stitch_connect_client.ApiClient(configuration) )
370382source_id = ' source_id_example' # str | The ID of the source
371383update_source_body = stitch_connect_client.UpdateSourceBody() # UpdateSourceBody | Request body for updating a source
372384
@@ -390,7 +402,7 @@ void (empty response body)
390402
391403### Authorization
392404
393- No authorization required
405+ [ bearerAuth ] ( ../README.md#bearerAuth )
394406
395407### HTTP request headers
396408
0 commit comments