All URIs are relative to https://api.bitbucket.org/2.0
| Method | HTTP request | Description |
|---|---|---|
| GetDeploymentForRepository | Get /repositories/{username}/{repo_slug}/deployments/{deployment_uuid} | |
| GetDeploymentsForRepository | Get /repositories/{username}/{repo_slug}/deployments/ | |
| GetEnvironmentForRepository | Get /repositories/{username}/{repo_slug}/environments/{environment_uuid} | |
| GetEnvironmentsForRepository | Get /repositories/{username}/{repo_slug}/environments/ | |
| UpdateEnvironmentForRepository | Post /repositories/{username}/{repo_slug}/environments/{environment_uuid}/changes/ |
Deployment GetDeploymentForRepository(ctx, username, repoSlug, deploymentUuid)
Retrieve a deployment
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for logging, tracing, authentication, etc. | |
| username | string | The account. | |
| repoSlug | string | The repository. | |
| deploymentUuid | string | The deployment UUID. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginatedDeployments GetDeploymentsForRepository(ctx, username, repoSlug)
Find deployments
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for logging, tracing, authentication, etc. | |
| username | string | The account. | |
| repoSlug | string | The repository. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeploymentEnvironment GetEnvironmentForRepository(ctx, username, repoSlug, environmentUuid)
Retrieve an environment
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for logging, tracing, authentication, etc. | |
| username | string | The account. | |
| repoSlug | string | The repository. | |
| environmentUuid | string | The environment UUID. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
PaginatedEnvironments GetEnvironmentsForRepository(ctx, username, repoSlug)
Find environments
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for logging, tracing, authentication, etc. | |
| username | string | The account. | |
| repoSlug | string | The repository. |
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
UpdateEnvironmentForRepository(ctx, username, repoSlug, environmentUuid)
Update an environment
| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for logging, tracing, authentication, etc. | |
| username | string | The account. | |
| repoSlug | string | The repository. | |
| environmentUuid | string | The environment UUID. |
(empty response body)
No authorization required
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]