All URIs are relative to https://api.qovery.com
Method | HTTP request | Description |
---|---|---|
ListJobDeploymentHistory | Get /job/{jobId}/deploymentHistory | List job deployments |
ListJobDeploymentHistoryV2 | Get /job/{jobId}/deploymentHistoryV2 | List job deployments |
ListJobDeploymentHistory200Response ListJobDeploymentHistory(ctx, jobId).Execute()
List job deployments
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
jobId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Job ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.JobDeploymentHistoryAPI.ListJobDeploymentHistory(context.Background(), jobId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `JobDeploymentHistoryAPI.ListJobDeploymentHistory``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListJobDeploymentHistory`: ListJobDeploymentHistory200Response
fmt.Fprintf(os.Stdout, "Response from `JobDeploymentHistoryAPI.ListJobDeploymentHistory`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
jobId | string | Job ID |
Other parameters are passed through a pointer to a apiListJobDeploymentHistoryRequest struct via the builder pattern
Name | Type | Description | Notes |
---|
ListJobDeploymentHistory200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeploymentHistoryServicePaginatedResponseListV2 ListJobDeploymentHistoryV2(ctx, jobId).Execute()
List job deployments
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
jobId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Job ID
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.JobDeploymentHistoryAPI.ListJobDeploymentHistoryV2(context.Background(), jobId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `JobDeploymentHistoryAPI.ListJobDeploymentHistoryV2``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListJobDeploymentHistoryV2`: DeploymentHistoryServicePaginatedResponseListV2
fmt.Fprintf(os.Stdout, "Response from `JobDeploymentHistoryAPI.ListJobDeploymentHistoryV2`: %v\n", resp)
}
Name | Type | Description | Notes |
---|---|---|---|
ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
jobId | string | Job ID |
Other parameters are passed through a pointer to a apiListJobDeploymentHistoryV2Request struct via the builder pattern
Name | Type | Description | Notes |
---|
DeploymentHistoryServicePaginatedResponseListV2
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]