All URIs are relative to https://api.qovery.com
| Method | HTTP request | Description |
|---|---|---|
| ListDatabaseDeploymentHistory | Get /database/{databaseId}/deploymentHistory | List database deploys |
| ListDatabaseDeploymentHistoryV2 | Get /database/{databaseId}/deploymentHistoryV2 | List database deploys |
ListDatabaseDeploymentHistory200Response ListDatabaseDeploymentHistory(ctx, databaseId).StartId(startId).Execute()
List database deploys
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
databaseId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Database 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.DatabaseDeploymentHistoryAPI.ListDatabaseDeploymentHistory(context.Background(), databaseId).StartId(startId).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DatabaseDeploymentHistoryAPI.ListDatabaseDeploymentHistory``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListDatabaseDeploymentHistory`: ListDatabaseDeploymentHistory200Response
fmt.Fprintf(os.Stdout, "Response from `DatabaseDeploymentHistoryAPI.ListDatabaseDeploymentHistory`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| databaseId | string | Database ID |
Other parameters are passed through a pointer to a apiListDatabaseDeploymentHistoryRequest struct via the builder pattern
| Name | Type | Description | Notes |
|---|
startId | string | Starting point after which to return results |
ListDatabaseDeploymentHistory200Response
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
DeploymentHistoryServicePaginatedResponseListV2 ListDatabaseDeploymentHistoryV2(ctx, databaseId).PageSize(pageSize).Execute()
List database deploys
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
databaseId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string |
pageSize := float32(8.14) // float32 | The number of deployments to return in the current page (optional) (default to 20)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.DatabaseDeploymentHistoryAPI.ListDatabaseDeploymentHistoryV2(context.Background(), databaseId).PageSize(pageSize).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `DatabaseDeploymentHistoryAPI.ListDatabaseDeploymentHistoryV2``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `ListDatabaseDeploymentHistoryV2`: DeploymentHistoryServicePaginatedResponseListV2
fmt.Fprintf(os.Stdout, "Response from `DatabaseDeploymentHistoryAPI.ListDatabaseDeploymentHistoryV2`: %v\n", resp)
}| Name | Type | Description | Notes |
|---|---|---|---|
| ctx | context.Context | context for authentication, logging, cancellation, deadlines, tracing, etc. | |
| databaseId | string |
Other parameters are passed through a pointer to a apiListDatabaseDeploymentHistoryV2Request struct via the builder pattern
| Name | Type | Description | Notes |
|---|
pageSize | float32 | The number of deployments to return in the current page | [default to 20]
DeploymentHistoryServicePaginatedResponseListV2
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]