Skip to content

Latest commit

 

History

History
154 lines (98 loc) · 5.07 KB

ApplicationDeploymentHistoryAPI.md

File metadata and controls

154 lines (98 loc) · 5.07 KB

\ApplicationDeploymentHistoryAPI

All URIs are relative to https://api.qovery.com

Method HTTP request Description
ListApplicationDeploymentHistory Get /application/{applicationId}/deploymentHistory List application deploys
ListApplicationDeploymentHistoryV2 Get /application/{applicationId}/deploymentHistoryV2 List application deploys

ListApplicationDeploymentHistory

DeploymentHistoryPaginatedResponseList ListApplicationDeploymentHistory(ctx, applicationId).StartId(startId).Execute()

List application deploys

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	applicationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Application 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.ApplicationDeploymentHistoryAPI.ListApplicationDeploymentHistory(context.Background(), applicationId).StartId(startId).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ApplicationDeploymentHistoryAPI.ListApplicationDeploymentHistory``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListApplicationDeploymentHistory`: DeploymentHistoryPaginatedResponseList
	fmt.Fprintf(os.Stdout, "Response from `ApplicationDeploymentHistoryAPI.ListApplicationDeploymentHistory`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
applicationId string Application ID

Other Parameters

Other parameters are passed through a pointer to a apiListApplicationDeploymentHistoryRequest struct via the builder pattern

Name Type Description Notes

startId | string | Starting point after which to return results |

Return type

DeploymentHistoryPaginatedResponseList

Authorization

ApiKeyAuth, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]

ListApplicationDeploymentHistoryV2

DeploymentHistoryServicePaginatedResponseListV2 ListApplicationDeploymentHistoryV2(ctx, applicationId).StartId(startId).Execute()

List application deploys

Example

package main

import (
	"context"
	"fmt"
	"os"
	openapiclient "github.com/qovery/qovery-client-go"
)

func main() {
	applicationId := "38400000-8cf0-11bd-b23e-10b96e4ef00d" // string | Application 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.ApplicationDeploymentHistoryAPI.ListApplicationDeploymentHistoryV2(context.Background(), applicationId).StartId(startId).Execute()
	if err != nil {
		fmt.Fprintf(os.Stderr, "Error when calling `ApplicationDeploymentHistoryAPI.ListApplicationDeploymentHistoryV2``: %v\n", err)
		fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
	}
	// response from `ListApplicationDeploymentHistoryV2`: DeploymentHistoryServicePaginatedResponseListV2
	fmt.Fprintf(os.Stdout, "Response from `ApplicationDeploymentHistoryAPI.ListApplicationDeploymentHistoryV2`: %v\n", resp)
}

Path Parameters

Name Type Description Notes
ctx context.Context context for authentication, logging, cancellation, deadlines, tracing, etc.
applicationId string Application ID

Other Parameters

Other parameters are passed through a pointer to a apiListApplicationDeploymentHistoryV2Request struct via the builder pattern

Name Type Description Notes

startId | string | Starting point after which to return results |

Return type

DeploymentHistoryServicePaginatedResponseListV2

Authorization

ApiKeyAuth, bearerAuth

HTTP request headers

  • Content-Type: Not defined
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]