Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed the endpoint to api-experimental.dotcloud.com/v1 which is the

newest (and not-backward compatible) REST API.
  • Loading branch information...
commit e3c5bcf8189b8a1ad64401c3bad887af51db671a 1 parent b16482c
@aluzzardi aluzzardi authored
Showing with 2 additions and 2 deletions.
  1. +1 −1  bin/dotcloud2
  2. +1 −1  dotcloud/client/client.py
View
2  bin/dotcloud2
@@ -10,7 +10,7 @@ except ImportError, e:
if __name__ == '__main__':
import os
- url = os.environ.get('DOTCLOUD_API_ENDPOINT', 'https://rest.dotcloud.com/1')
+ url = os.environ.get('DOTCLOUD_API_ENDPOINT', 'https://api-experimental.dotcloud.com/v1')
debug = os.environ.get('DOTCLOUD_DEBUG', False)
cli = CLI(endpoint=url, debug=debug)
cli.run(sys.argv[1:])
View
2  dotcloud/client/client.py
@@ -8,7 +8,7 @@
from .errors import RESTAPIError, AuthenticationNotConfigured
class RESTClient(object):
- def __init__(self, endpoint='https://rest.dotcloud.com/1', debug=False):
+ def __init__(self, endpoint='https://api-experimental.dotcloud.com/v1', debug=False):
self.endpoint = endpoint
self.authenticator = None
self.trace_id = None
Please sign in to comment.
Something went wrong with that request. Please try again.