All URIs are relative to https://api.qovery.com
Method | HTTP request | Description |
---|---|---|
GetBitbucketRepositories | Get /account/bitbucket/repository | Get bitbucket repositories of the connected user |
GetBitbucketRepositoryBranches | Get /account/bitbucket/repository/branch | Get bitbucket branches of the specified repository |
GetGitProviderAccount | Get /account/gitAuthProvider | Get git provider accounts |
GetGithubRepositories | Get /account/github/repository | Get github repositories of the connected user |
GetGithubRepositoryBranches | Get /account/github/repository/branch | Get github branches of the specified repository |
GetGitlabRepositories | Get /account/gitlab/repository | Get gitlab repositories of the connected user |
GetGitlabRepositoryBranches | Get /account/gitlab/repository/branch | Get gitlab branches of the specified repository |
GitRepositoryResponseList GetBitbucketRepositories(ctx).Execute()
Get bitbucket repositories of the connected user
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.GitRepositoriesAPI.GetBitbucketRepositories(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `GitRepositoriesAPI.GetBitbucketRepositories``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetBitbucketRepositories`: GitRepositoryResponseList
fmt.Fprintf(os.Stdout, "Response from `GitRepositoriesAPI.GetBitbucketRepositories`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetBitbucketRepositoriesRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GitRepositoryBranchResponseList GetBitbucketRepositoryBranches(ctx).Name(name).Execute()
Get bitbucket branches of the specified repository
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
name := "name_example" // string | The name of the repository where to retrieve the branches (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.GitRepositoriesAPI.GetBitbucketRepositoryBranches(context.Background()).Name(name).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `GitRepositoriesAPI.GetBitbucketRepositoryBranches``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetBitbucketRepositoryBranches`: GitRepositoryBranchResponseList
fmt.Fprintf(os.Stdout, "Response from `GitRepositoriesAPI.GetBitbucketRepositoryBranches`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetBitbucketRepositoryBranchesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | The name of the repository where to retrieve the branches |
GitRepositoryBranchResponseList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GitAuthProviderResponseList GetGitProviderAccount(ctx).Execute()
Get git provider accounts
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.GitRepositoriesAPI.GetGitProviderAccount(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `GitRepositoriesAPI.GetGitProviderAccount``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetGitProviderAccount`: GitAuthProviderResponseList
fmt.Fprintf(os.Stdout, "Response from `GitRepositoriesAPI.GetGitProviderAccount`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetGitProviderAccountRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GitRepositoryResponseList GetGithubRepositories(ctx).Execute()
Get github repositories of the connected user
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.GitRepositoriesAPI.GetGithubRepositories(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `GitRepositoriesAPI.GetGithubRepositories``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetGithubRepositories`: GitRepositoryResponseList
fmt.Fprintf(os.Stdout, "Response from `GitRepositoriesAPI.GetGithubRepositories`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetGithubRepositoriesRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GitRepositoryBranchResponseList GetGithubRepositoryBranches(ctx).Name(name).Execute()
Get github branches of the specified repository
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
name := "name_example" // string | The name of the repository where to retrieve the branches (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.GitRepositoriesAPI.GetGithubRepositoryBranches(context.Background()).Name(name).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `GitRepositoriesAPI.GetGithubRepositoryBranches``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetGithubRepositoryBranches`: GitRepositoryBranchResponseList
fmt.Fprintf(os.Stdout, "Response from `GitRepositoriesAPI.GetGithubRepositoryBranches`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetGithubRepositoryBranchesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | The name of the repository where to retrieve the branches |
GitRepositoryBranchResponseList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GitRepositoryResponseList GetGitlabRepositories(ctx).Execute()
Get gitlab repositories of the connected user
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.GitRepositoriesAPI.GetGitlabRepositories(context.Background()).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `GitRepositoriesAPI.GetGitlabRepositories``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetGitlabRepositories`: GitRepositoryResponseList
fmt.Fprintf(os.Stdout, "Response from `GitRepositoriesAPI.GetGitlabRepositories`: %v\n", resp)
}
This endpoint does not need any parameter.
Other parameters are passed through a pointer to a apiGetGitlabRepositoriesRequest struct via the builder pattern
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
GitRepositoryBranchResponseList GetGitlabRepositoryBranches(ctx).Name(name).Execute()
Get gitlab branches of the specified repository
package main
import (
"context"
"fmt"
"os"
openapiclient "github.com/qovery/qovery-client-go"
)
func main() {
name := "name_example" // string | The name of the repository to retrieve the branches (optional)
configuration := openapiclient.NewConfiguration()
apiClient := openapiclient.NewAPIClient(configuration)
resp, r, err := apiClient.GitRepositoriesAPI.GetGitlabRepositoryBranches(context.Background()).Name(name).Execute()
if err != nil {
fmt.Fprintf(os.Stderr, "Error when calling `GitRepositoriesAPI.GetGitlabRepositoryBranches``: %v\n", err)
fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r)
}
// response from `GetGitlabRepositoryBranches`: GitRepositoryBranchResponseList
fmt.Fprintf(os.Stdout, "Response from `GitRepositoriesAPI.GetGitlabRepositoryBranches`: %v\n", resp)
}
Other parameters are passed through a pointer to a apiGetGitlabRepositoryBranchesRequest struct via the builder pattern
Name | Type | Description | Notes |
---|---|---|---|
name | string | The name of the repository to retrieve the branches |
GitRepositoryBranchResponseList
- Content-Type: Not defined
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]