-
-
Notifications
You must be signed in to change notification settings - Fork 26
Closed
Description
Version: 4.0.0
The package is installed using the standard config. Requests URIs are being built without a trailing slash for some endpoints. For instance:
// Fetched using `dd(self::prepareUri($uri, $params));` at AbstractAPI.php:87
/2.0/repositories/{workspace}/{repository}/environments
These result in an exception: Bitbucket\Exception\RuntimeException: Resource not found: There is no API hosted at this URL.
The URI should actually be:
/2.0/repositories/{workspace}/{repository}/environments/
Unfortunately, this is only an issue for some endpoints as some exclude the trailing slash, so a blanket addition of a trailing slash would break other endpoints such as:
/2.0/workspaces/{workspace}/pipelines-config/variables
Metadata
Metadata
Assignees
Labels
No labels