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

     1  # PluginServicePluginsVersionsApi
     2  
     3  All URIs are relative to *https://flex-api.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreatePluginVersion**](PluginServicePluginsVersionsApi.md#CreatePluginVersion) | **Post** /v1/PluginService/Plugins/{PluginSid}/Versions | 
     8  [**FetchPluginVersion**](PluginServicePluginsVersionsApi.md#FetchPluginVersion) | **Get** /v1/PluginService/Plugins/{PluginSid}/Versions/{Sid} | 
     9  [**ListPluginVersion**](PluginServicePluginsVersionsApi.md#ListPluginVersion) | **Get** /v1/PluginService/Plugins/{PluginSid}/Versions | 
    10  
    11  
    12  
    13  ## CreatePluginVersion
    14  
    15  > FlexV1PluginVersion CreatePluginVersion(ctx, PluginSidoptional)
    16  
    17  
    18  
    19  
    20  
    21  ### Path Parameters
    22  
    23  
    24  Name | Type | Description
    25  ------------- | ------------- | -------------
    26  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    27  **PluginSid** | **string** | The SID of the Flex Plugin the resource to belongs to.
    28  
    29  ### Other Parameters
    30  
    31  Other parameters are passed through a pointer to a CreatePluginVersionParams struct
    32  
    33  
    34  Name | Type | Description
    35  ------------- | ------------- | -------------
    36  **FlexMetadata** | **string** | The Flex-Metadata HTTP request header
    37  **Version** | **string** | The Flex Plugin Version's version.
    38  **PluginUrl** | **string** | The URL of the Flex Plugin Version bundle
    39  **Changelog** | **string** | The changelog of the Flex Plugin Version.
    40  **Private** | **bool** | Whether this Flex Plugin Version requires authorization.
    41  **CliVersion** | **string** | The version of Flex Plugins CLI used to create this plugin
    42  **ValidateStatus** | **string** | The validation status of the plugin, indicating whether it has been validated
    43  
    44  ### Return type
    45  
    46  [**FlexV1PluginVersion**](FlexV1PluginVersion.md)
    47  
    48  ### Authorization
    49  
    50  [accountSid_authToken](../README.md#accountSid_authToken)
    51  
    52  ### HTTP request headers
    53  
    54  - **Content-Type**: application/x-www-form-urlencoded
    55  - **Accept**: application/json
    56  
    57  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    58  [[Back to Model list]](../README.md#documentation-for-models)
    59  [[Back to README]](../README.md)
    60  
    61  
    62  ## FetchPluginVersion
    63  
    64  > FlexV1PluginVersion FetchPluginVersion(ctx, PluginSidSidoptional)
    65  
    66  
    67  
    68  
    69  
    70  ### Path Parameters
    71  
    72  
    73  Name | Type | Description
    74  ------------- | ------------- | -------------
    75  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    76  **PluginSid** | **string** | The SID of the Flex Plugin the resource to belongs to.
    77  **Sid** | **string** | The SID of the Flex Plugin Version resource to fetch.
    78  
    79  ### Other Parameters
    80  
    81  Other parameters are passed through a pointer to a FetchPluginVersionParams struct
    82  
    83  
    84  Name | Type | Description
    85  ------------- | ------------- | -------------
    86  **FlexMetadata** | **string** | The Flex-Metadata HTTP request header
    87  
    88  ### Return type
    89  
    90  [**FlexV1PluginVersion**](FlexV1PluginVersion.md)
    91  
    92  ### Authorization
    93  
    94  [accountSid_authToken](../README.md#accountSid_authToken)
    95  
    96  ### HTTP request headers
    97  
    98  - **Content-Type**: Not defined
    99  - **Accept**: application/json
   100  
   101  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   102  [[Back to Model list]](../README.md#documentation-for-models)
   103  [[Back to README]](../README.md)
   104  
   105  
   106  ## ListPluginVersion
   107  
   108  > []FlexV1PluginVersion ListPluginVersion(ctx, PluginSidoptional)
   109  
   110  
   111  
   112  
   113  
   114  ### Path Parameters
   115  
   116  
   117  Name | Type | Description
   118  ------------- | ------------- | -------------
   119  **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   120  **PluginSid** | **string** | The SID of the Flex Plugin the resource to belongs to.
   121  
   122  ### Other Parameters
   123  
   124  Other parameters are passed through a pointer to a ListPluginVersionParams struct
   125  
   126  
   127  Name | Type | Description
   128  ------------- | ------------- | -------------
   129  **FlexMetadata** | **string** | The Flex-Metadata HTTP request header
   130  **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000.
   131  **Limit** | **int** | Max number of records to return.
   132  
   133  ### Return type
   134  
   135  [**[]FlexV1PluginVersion**](FlexV1PluginVersion.md)
   136  
   137  ### Authorization
   138  
   139  [accountSid_authToken](../README.md#accountSid_authToken)
   140  
   141  ### HTTP request headers
   142  
   143  - **Content-Type**: Not defined
   144  - **Accept**: application/json
   145  
   146  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
   147  [[Back to Model list]](../README.md#documentation-for-models)
   148  [[Back to README]](../README.md)
   149