Hi!
I would like to extract deployment environment variables through the Rest API, but I can't find a route to do that, just a url to list environments, like this:
/repositories/{workspace}/{repo_slug}/environments/
I need to list all variables by environment, how can I do?
Thanks.
@Rafael Chebel we've released these to the public API now: https://developer.atlassian.com/bitbucket/api/2/reference/resource/repositories/%7Bworkspace%7D/%7Brepo_slug%7D/deployments_config/environments/%7Benvironment_uuid%7D/variables
Our internal endpoints do not have a deprecation policy. So please move to the official API when possible.
Thanks,
Phil
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I've found a solution debugging deployments web page.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rafael Chebel,
This is currently using undocumented internal API, feel free to use it but be aware that it ma change.
Thanks,
Peter
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi @Rafael Chebel, unfortunately we don't have estimates for this.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
This endpoint doesnt work for me, tried with
url: https://api.bitbucket.org/2.0/repositories/<wks-redacted>/<repo-redacted>/deployments_config/enviroments/{<redacted>}/variables/
Exception: 404 Client Error: Not Found for url: https://api.bitbucket.org/2.0/repositories/<wks-redacted>/<repo-redacted>/deployments_config/enviroments/%7B<redacted>%7D/variables/
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.