# \IntegrationApi All URIs are relative to *https://localhost/api/v0* Method | HTTP request | Description ------------- | ------------- | ------------- [**Get**](IntegrationApi.md#Get) | **Get** /integration/{integration_name} | Get integration [**List**](IntegrationApi.md#List) | **Get** /integration | List integrations ## Get > FpIntegration Get(ctx, integrationName).Execute() Get integration ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/turbot/flowpipe-sdk-go" ) func main() { integrationName := "integrationName_example" // string | The name of the integration configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.IntegrationApi.Get(context.Background(), integrationName).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IntegrationApi.Get``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `Get`: FpIntegration fmt.Fprintf(os.Stdout, "Response from `IntegrationApi.Get`: %v\n", resp) } ``` ### Path Parameters Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. **integrationName** | **string** | The name of the integration | ### Other Parameters Other parameters are passed through a pointer to a apiGetRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- ### Return type [**FpIntegration**](FpIntegration.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md) ## List > ListIntegrationResponse List(ctx).Limit(limit).NextToken(nextToken).Execute() List integrations ### Example ```go package main import ( "context" "fmt" "os" openapiclient "github.com/turbot/flowpipe-sdk-go" ) func main() { limit := int32(56) // int32 | The max number of items to fetch per page of data, subject to a min and max of 1 and 100 respectively. If not specified will default to 25. (optional) (default to 25) nextToken := "nextToken_example" // string | When list results are truncated, next_token will be returned, which is a cursor to fetch the next page of data. Pass next_token to the subsequent list request to fetch the next page of data. (optional) configuration := openapiclient.NewConfiguration() apiClient := openapiclient.NewAPIClient(configuration) resp, r, err := apiClient.IntegrationApi.List(context.Background()).Limit(limit).NextToken(nextToken).Execute() if err != nil { fmt.Fprintf(os.Stderr, "Error when calling `IntegrationApi.List``: %v\n", err) fmt.Fprintf(os.Stderr, "Full HTTP response: %v\n", r) } // response from `List`: ListIntegrationResponse fmt.Fprintf(os.Stdout, "Response from `IntegrationApi.List`: %v\n", resp) } ``` ### Path Parameters ### Other Parameters Other parameters are passed through a pointer to a apiListRequest struct via the builder pattern Name | Type | Description | Notes ------------- | ------------- | ------------- | ------------- **limit** | **int32** | The max number of items to fetch per page of data, subject to a min and max of 1 and 100 respectively. If not specified will default to 25. | [default to 25] **nextToken** | **string** | When list results are truncated, next_token will be returned, which is a cursor to fetch the next page of data. Pass next_token to the subsequent list request to fetch the next page of data. | ### Return type [**ListIntegrationResponse**](ListIntegrationResponse.md) ### Authorization No authorization required ### HTTP request headers - **Content-Type**: Not defined - **Accept**: application/json [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)