All URIs are relative to https://api.qovery.com
Method | HTTP request | Description |
---|---|---|
ListEnvironmentDeploymentHistory | Get /environment/{environmentId}/deploymentHistory | List environment deployments |
ListEnvironmentDeploymentHistoryV2 | Get /environment/{environmentId}/deploymentHistoryV2 | List environment deployments |
DeploymentHistoryEnvironmentPaginatedResponseList ListEnvironmentDeploymentHistory(ctx, environmentId).StartId(startId).Execute()
List environment deployments
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
environmentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Environment ID
startId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Starting point after which to return results (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.EnvironmentDeploymentHistoryAPI.ListEnvironmentDeploymentHistory(context.Background(), environmentId).StartId(startId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EnvironmentDeploymentHistoryAPI.ListEnvironmentDeploymentHistory``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListEnvironmentDeploymentHistory`: DeploymentHistoryEnvironmentPaginatedResponseList
fmt.Fprintf(os.Stdout, "Response from `EnvironmentDeploymentHistoryAPI.ListEnvironmentDeploymentHistory`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
environmentId | string | Environment ID |
Other parameters are passed through a pointer to a apiListEnvironmentDeploymentHistoryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
startId | string | Starting point after which to return results |
DeploymentHistoryEnvironmentPaginatedResponseList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeploymentHistoryEnvironmentPaginatedResponseListV2 ListEnvironmentDeploymentHistoryV2(ctx, environmentId).StartId(startId).Execute()
List environment deployments
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
environmentId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Environment ID
startId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Starting point after which to return results (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.EnvironmentDeploymentHistoryAPI.ListEnvironmentDeploymentHistoryV2(context.Background(), environmentId).StartId(startId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `EnvironmentDeploymentHistoryAPI.ListEnvironmentDeploymentHistoryV2``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListEnvironmentDeploymentHistoryV2`: DeploymentHistoryEnvironmentPaginatedResponseListV2
fmt.Fprintf(os.Stdout, "Response from `EnvironmentDeploymentHistoryAPI.ListEnvironmentDeploymentHistoryV2`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
environmentId | string | Environment ID |
Other parameters are passed through a pointer to a apiListEnvironmentDeploymentHistoryV2Request struct via the builder pattern
Name | Type | Description | Notes |
---|
startId | string | Starting point after which to return results |
DeploymentHistoryEnvironmentPaginatedResponseListV2
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]