cosmin / stashy

Python API client for the Atlassian Stash REST API
Other
232 stars 147 forks source link

API core URL incorrectly determined #160

Open steveliem opened 4 years ago

steveliem commented 4 years ago

https://github.com/cosmin/stashy/blob/ae8c08991678c00d63ddb29fa7b26861e444229f/stashy/client.py#L73

In this specific line the code causes a 404 error, resource not found. This is because we have to add the extra 'core_api_path' string behind the '/rest/'. Then we will have the actual API base URL for Bitbucket Server.

Please fix.