Skip to content

Commit 7dcd3f3

Browse files
committed
correct server url
1 parent 678407e commit 7dcd3f3

File tree

5 files changed

+28
-28
lines changed

5 files changed

+28
-28
lines changed

client/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,8 +55,8 @@ configuration = stitch_connect_client.Configuration()
5555
# Configure Bearer authorization: bearerAuth
5656
configuration.access_token = 'YOUR_BEARER_TOKEN'
5757

58-
# Defining host is optional and default to https://stitchdata.com
59-
configuration.host = "https://stitchdata.com"
58+
# Defining host is optional and default to https://api.stitchdata.com
59+
configuration.host = "https://api.stitchdata.com"
6060
# Create an instance of the API class
6161
api_instance = stitch_connect_client.DestinationsApi(stitch_connect_client.ApiClient(configuration))
6262
destination_info = stitch_connect_client.DestinationInfo() # DestinationInfo | Object containing type and properties of a destination (optional)
@@ -71,7 +71,7 @@ except ApiException as e:
7171

7272
## Documentation for API Endpoints
7373

74-
All URIs are relative to *https://stitchdata.com*
74+
All URIs are relative to *https://api.stitchdata.com*
7575

7676
Class | Method | HTTP request | Description
7777
------------ | ------------- | ------------- | -------------

client/docs/DestinationsApi.md

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# stitch_connect_client.DestinationsApi
22

3-
All URIs are relative to *https://stitchdata.com*
3+
All URIs are relative to *https://api.stitchdata.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
@@ -29,8 +29,8 @@ configuration = stitch_connect_client.Configuration()
2929
# Configure Bearer authorization: bearerAuth
3030
configuration.access_token = 'YOUR_BEARER_TOKEN'
3131

32-
# Defining host is optional and default to https://stitchdata.com
33-
configuration.host = "https://stitchdata.com"
32+
# Defining host is optional and default to https://api.stitchdata.com
33+
configuration.host = "https://api.stitchdata.com"
3434
# Create an instance of the API class
3535
api_instance = stitch_connect_client.DestinationsApi(stitch_connect_client.ApiClient(configuration))
3636
destination_info = stitch_connect_client.DestinationInfo() # DestinationInfo | Object containing type and properties of a destination (optional)
@@ -87,8 +87,8 @@ configuration = stitch_connect_client.Configuration()
8787
# Configure Bearer authorization: bearerAuth
8888
configuration.access_token = 'YOUR_BEARER_TOKEN'
8989

90-
# Defining host is optional and default to https://stitchdata.com
91-
configuration.host = "https://stitchdata.com"
90+
# Defining host is optional and default to https://api.stitchdata.com
91+
configuration.host = "https://api.stitchdata.com"
9292
# Create an instance of the API class
9393
api_instance = stitch_connect_client.DestinationsApi(stitch_connect_client.ApiClient(configuration))
9494
destination_id = 'destination_id_example' # str | The ID of the destination
@@ -146,8 +146,8 @@ configuration = stitch_connect_client.Configuration()
146146
# Configure Bearer authorization: bearerAuth
147147
configuration.access_token = 'YOUR_BEARER_TOKEN'
148148

149-
# Defining host is optional and default to https://stitchdata.com
150-
configuration.host = "https://stitchdata.com"
149+
# Defining host is optional and default to https://api.stitchdata.com
150+
configuration.host = "https://api.stitchdata.com"
151151
# Create an instance of the API class
152152
api_instance = stitch_connect_client.DestinationsApi(stitch_connect_client.ApiClient(configuration))
153153

@@ -200,8 +200,8 @@ configuration = stitch_connect_client.Configuration()
200200
# Configure Bearer authorization: bearerAuth
201201
configuration.access_token = 'YOUR_BEARER_TOKEN'
202202

203-
# Defining host is optional and default to https://stitchdata.com
204-
configuration.host = "https://stitchdata.com"
203+
# Defining host is optional and default to https://api.stitchdata.com
204+
configuration.host = "https://api.stitchdata.com"
205205
# Create an instance of the API class
206206
api_instance = stitch_connect_client.DestinationsApi(stitch_connect_client.ApiClient(configuration))
207207

client/docs/SourcesApi.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# stitch_connect_client.SourcesApi
22

3-
All URIs are relative to *https://stitchdata.com*
3+
All URIs are relative to *https://api.stitchdata.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
@@ -31,8 +31,8 @@ configuration = stitch_connect_client.Configuration()
3131
# Configure Bearer authorization: bearerAuth
3232
configuration.access_token = 'YOUR_BEARER_TOKEN'
3333

34-
# Defining host is optional and default to https://stitchdata.com
35-
configuration.host = "https://stitchdata.com"
34+
# Defining host is optional and default to https://api.stitchdata.com
35+
configuration.host = "https://api.stitchdata.com"
3636
# Create an instance of the API class
3737
api_instance = stitch_connect_client.SourcesApi(stitch_connect_client.ApiClient(configuration))
3838
create_source_body = stitch_connect_client.CreateSourceBody() # CreateSourceBody | Request body to create a new source (optional)
@@ -141,8 +141,8 @@ configuration = stitch_connect_client.Configuration()
141141
# Configure Bearer authorization: bearerAuth
142142
configuration.access_token = 'YOUR_BEARER_TOKEN'
143143

144-
# Defining host is optional and default to https://stitchdata.com
145-
configuration.host = "https://stitchdata.com"
144+
# Defining host is optional and default to https://api.stitchdata.com
145+
configuration.host = "https://api.stitchdata.com"
146146
# Create an instance of the API class
147147
api_instance = stitch_connect_client.SourcesApi(stitch_connect_client.ApiClient(configuration))
148148
source_id = 'source_id_example' # str | The ID of the source
@@ -199,8 +199,8 @@ configuration = stitch_connect_client.Configuration()
199199
# Configure Bearer authorization: bearerAuth
200200
configuration.access_token = 'YOUR_BEARER_TOKEN'
201201

202-
# Defining host is optional and default to https://stitchdata.com
203-
configuration.host = "https://stitchdata.com"
202+
# Defining host is optional and default to https://api.stitchdata.com
203+
configuration.host = "https://api.stitchdata.com"
204204
# Create an instance of the API class
205205
api_instance = stitch_connect_client.SourcesApi(stitch_connect_client.ApiClient(configuration))
206206
source_id = 'source_id_example' # str | The ID of the source
@@ -256,8 +256,8 @@ configuration = stitch_connect_client.Configuration()
256256
# Configure Bearer authorization: bearerAuth
257257
configuration.access_token = 'YOUR_BEARER_TOKEN'
258258

259-
# Defining host is optional and default to https://stitchdata.com
260-
configuration.host = "https://stitchdata.com"
259+
# Defining host is optional and default to https://api.stitchdata.com
260+
configuration.host = "https://api.stitchdata.com"
261261
# Create an instance of the API class
262262
api_instance = stitch_connect_client.SourcesApi(stitch_connect_client.ApiClient(configuration))
263263

@@ -310,8 +310,8 @@ configuration = stitch_connect_client.Configuration()
310310
# Configure Bearer authorization: bearerAuth
311311
configuration.access_token = 'YOUR_BEARER_TOKEN'
312312

313-
# Defining host is optional and default to https://stitchdata.com
314-
configuration.host = "https://stitchdata.com"
313+
# Defining host is optional and default to https://api.stitchdata.com
314+
configuration.host = "https://api.stitchdata.com"
315315
# Create an instance of the API class
316316
api_instance = stitch_connect_client.SourcesApi(stitch_connect_client.ApiClient(configuration))
317317
source_id = 'source_id_example' # str | The ID of the source

client/docs/StreamsApi.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# stitch_connect_client.StreamsApi
22

3-
All URIs are relative to *https://stitchdata.com*
3+
All URIs are relative to *https://api.stitchdata.com*
44

55
Method | HTTP request | Description
66
------------- | ------------- | -------------
@@ -133,8 +133,8 @@ configuration = stitch_connect_client.Configuration()
133133
# Configure Bearer authorization: bearerAuth
134134
configuration.access_token = 'YOUR_BEARER_TOKEN'
135135

136-
# Defining host is optional and default to https://stitchdata.com
137-
configuration.host = "https://stitchdata.com"
136+
# Defining host is optional and default to https://api.stitchdata.com
137+
configuration.host = "https://api.stitchdata.com"
138138
# Create an instance of the API class
139139
api_instance = stitch_connect_client.StreamsApi(stitch_connect_client.ApiClient(configuration))
140140
source_id = 'source_id_example' # str | The ID of the source

client/stitch_connect_client/configuration.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Configuration(object):
3333
:param password: Password for HTTP basic authentication
3434
"""
3535

36-
def __init__(self, host="https://stitchdata.com",
36+
def __init__(self, host="https://api.stitchdata.com",
3737
api_key=None, api_key_prefix=None,
3838
username="", password=""):
3939
"""Constructor
@@ -270,7 +270,7 @@ def get_host_settings(self):
270270
"""
271271
return [
272272
{
273-
'url': "https://stitchdata.com",
273+
'url': "https://api.stitchdata.com",
274274
'description': "Stitch Connect",
275275
}
276276
]

0 commit comments

Comments
 (0)