github.com/twilio/twilio-go@v1.20.1/rest/flex/v1/docs/PluginServiceConfigurationsApi.md (about)

     1  # PluginServiceConfigurationsApi
     2  
     3  All URIs are relative to *https://flex-api.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreatePluginConfiguration**](PluginServiceConfigurationsApi.md#CreatePluginConfiguration) | **Post** /v1/PluginService/Configurations | 
     8  [**FetchPluginConfiguration**](PluginServiceConfigurationsApi.md#FetchPluginConfiguration) | **Get** /v1/PluginService/Configurations/{Sid} | 
     9  [**ListPluginConfiguration**](PluginServiceConfigurationsApi.md#ListPluginConfiguration) | **Get** /v1/PluginService/Configurations | 
    10  
    11  
    12  
    13  ## CreatePluginConfiguration
    14  
    15  > FlexV1PluginConfiguration CreatePluginConfiguration(ctx, optional)
    16  
    17  
    18  
    19  
    20  
    21  ### Path Parameters
    22  
    23  This endpoint does not need any path parameter.
    24  
    25  ### Other Parameters
    26  
    27  Other parameters are passed through a pointer to a CreatePluginConfigurationParams struct
    28  
    29  
    30  Name | Type | Description
    31  ------------- | ------------- | -------------
    32  **FlexMetadata** | **string** | The Flex-Metadata HTTP request header
    33  **Name** | **string** | The Flex Plugin Configuration's name.
    34  **Plugins** | **[]interface{}** | A list of objects that describe the plugin versions included in the configuration. Each object contains the sid of the plugin version.
    35  **Description** | **string** | The Flex Plugin Configuration's description.
    36  
    37  ### Return type
    38  
    39  [**FlexV1PluginConfiguration**](FlexV1PluginConfiguration.md)
    40  
    41  ### Authorization
    42  
    43  [accountSid_authToken](../README.md#accountSid_authToken)
    44  
    45  ### HTTP request headers
    46  
    47  - **Content-Type**: application/x-www-form-urlencoded
    48  - **Accept**: application/json
    49  
    50  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    51  [[Back to Model list]](../README.md#documentation-for-models)
    52  [[Back to README]](../README.md)
    53  
    54  
    55  ## FetchPluginConfiguration
    56  
    57  > FlexV1PluginConfiguration FetchPluginConfiguration(ctx, Sidoptional)
    58  
    59  
    60  
    61  
    62  
    63  ### Path Parameters
    64  
    65  
    66  Name | Type | Description
    67  ------------- | ------------- | -------------
    68  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    69  **Sid** | **string** | The SID of the Flex Plugin Configuration resource to fetch.
    70  
    71  ### Other Parameters
    72  
    73  Other parameters are passed through a pointer to a FetchPluginConfigurationParams struct
    74  
    75  
    76  Name | Type | Description
    77  ------------- | ------------- | -------------
    78  **FlexMetadata** | **string** | The Flex-Metadata HTTP request header
    79  
    80  ### Return type
    81  
    82  [**FlexV1PluginConfiguration**](FlexV1PluginConfiguration.md)
    83  
    84  ### Authorization
    85  
    86  [accountSid_authToken](../README.md#accountSid_authToken)
    87  
    88  ### HTTP request headers
    89  
    90  - **Content-Type**: Not defined
    91  - **Accept**: application/json
    92  
    93  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    94  [[Back to Model list]](../README.md#documentation-for-models)
    95  [[Back to README]](../README.md)
    96  
    97  
    98  ## ListPluginConfiguration
    99  
   100  > []FlexV1PluginConfiguration ListPluginConfiguration(ctx, optional)
   101  
   102  
   103  
   104  
   105  
   106  ### Path Parameters
   107  
   108  This endpoint does not need any path parameter.
   109  
   110  ### Other Parameters
   111  
   112  Other parameters are passed through a pointer to a ListPluginConfigurationParams struct
   113  
   114  
   115  Name | Type | Description
   116  ------------- | ------------- | -------------
   117  **FlexMetadata** | **string** | The Flex-Metadata HTTP request header
   118  **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000.
   119  **Limit** | **int** | Max number of records to return.
   120  
   121  ### Return type
   122  
   123  [**[]FlexV1PluginConfiguration**](FlexV1PluginConfiguration.md)
   124  
   125  ### Authorization
   126  
   127  [accountSid_authToken](../README.md#accountSid_authToken)
   128  
   129  ### HTTP request headers
   130  
   131  - **Content-Type**: Not defined
   132  - **Accept**: application/json
   133  
   134  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   135  [[Back to Model list]](../README.md#documentation-for-models)
   136  [[Back to README]](../README.md)
   137