diff --git a/storyboardclient/base.py b/storyboardclient/base.py index 767a9f5..7806779 100644 --- a/storyboardclient/base.py +++ b/storyboardclient/base.py @@ -21,7 +21,7 @@ from storyboardclient.auth import oauth from storyboardclient.openstack.common.apiclient import base from storyboardclient.openstack.common.apiclient import client -DEFAULT_API_URL = "https://storyboard.openstack.org/api/v1" +DEFAULT_API_URL = "https://storyboard-dev.openstack.org/api/v1" class BaseClient(client.BaseClient): diff --git a/storyboardclient/v1/client.py b/storyboardclient/v1/client.py index 7ea451d..994692d 100644 --- a/storyboardclient/v1/client.py +++ b/storyboardclient/v1/client.py @@ -38,15 +38,16 @@ class Client(base.BaseClient): @code: from storyboard.v1 import client - storyboard = client.Client("https://storyboard.openstack.org/api/v1", - "mytoken") + api_url = "https://storyboard-dev.openstack.org/api/v1" + token = "$my_token" + storyboard = client.Client(api_url, token) """ def __init__(self, api_url=None, access_token=None): """Sets up a client with endpoint managers. :param api_url: (Optional) Full API url. Defaults to - https://storyboard.openstack.org/api/v1 + https://storyboard-dev.openstack.org/api/v1 :param access_token: (Optional) OAuth2 access token. If skipped only public read-only endpoint will be available. All other requests will fail with Unauthorized error.