github.com/twilio/twilio-go@v1.20.1/rest/flex/v1/docs/PluginServiceReleasesApi.md (about) 1 # PluginServiceReleasesApi 2 3 All URIs are relative to *https://flex-api.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**CreatePluginRelease**](PluginServiceReleasesApi.md#CreatePluginRelease) | **Post** /v1/PluginService/Releases | 8 [**FetchPluginRelease**](PluginServiceReleasesApi.md#FetchPluginRelease) | **Get** /v1/PluginService/Releases/{Sid} | 9 [**ListPluginRelease**](PluginServiceReleasesApi.md#ListPluginRelease) | **Get** /v1/PluginService/Releases | 10 11 12 13 ## CreatePluginRelease 14 15 > FlexV1PluginRelease CreatePluginRelease(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 CreatePluginReleaseParams struct 28 29 30 Name | Type | Description 31 ------------- | ------------- | ------------- 32 **FlexMetadata** | **string** | The Flex-Metadata HTTP request header 33 **ConfigurationId** | **string** | The SID or the Version of the Flex Plugin Configuration to release. 34 35 ### Return type 36 37 [**FlexV1PluginRelease**](FlexV1PluginRelease.md) 38 39 ### Authorization 40 41 [accountSid_authToken](../README.md#accountSid_authToken) 42 43 ### HTTP request headers 44 45 - **Content-Type**: application/x-www-form-urlencoded 46 - **Accept**: application/json 47 48 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 49 [[Back to Model list]](../README.md#documentation-for-models) 50 [[Back to README]](../README.md) 51 52 53 ## FetchPluginRelease 54 55 > FlexV1PluginRelease FetchPluginRelease(ctx, Sidoptional) 56 57 58 59 60 61 ### Path Parameters 62 63 64 Name | Type | Description 65 ------------- | ------------- | ------------- 66 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 67 **Sid** | **string** | The SID of the Flex Plugin Release resource to fetch. 68 69 ### Other Parameters 70 71 Other parameters are passed through a pointer to a FetchPluginReleaseParams struct 72 73 74 Name | Type | Description 75 ------------- | ------------- | ------------- 76 **FlexMetadata** | **string** | The Flex-Metadata HTTP request header 77 78 ### Return type 79 80 [**FlexV1PluginRelease**](FlexV1PluginRelease.md) 81 82 ### Authorization 83 84 [accountSid_authToken](../README.md#accountSid_authToken) 85 86 ### HTTP request headers 87 88 - **Content-Type**: Not defined 89 - **Accept**: application/json 90 91 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 92 [[Back to Model list]](../README.md#documentation-for-models) 93 [[Back to README]](../README.md) 94 95 96 ## ListPluginRelease 97 98 > []FlexV1PluginRelease ListPluginRelease(ctx, optional) 99 100 101 102 103 104 ### Path Parameters 105 106 This endpoint does not need any path parameter. 107 108 ### Other Parameters 109 110 Other parameters are passed through a pointer to a ListPluginReleaseParams struct 111 112 113 Name | Type | Description 114 ------------- | ------------- | ------------- 115 **FlexMetadata** | **string** | The Flex-Metadata HTTP request header 116 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 117 **Limit** | **int** | Max number of records to return. 118 119 ### Return type 120 121 [**[]FlexV1PluginRelease**](FlexV1PluginRelease.md) 122 123 ### Authorization 124 125 [accountSid_authToken](../README.md#accountSid_authToken) 126 127 ### HTTP request headers 128 129 - **Content-Type**: Not defined 130 - **Accept**: application/json 131 132 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 133 [[Back to Model list]](../README.md#documentation-for-models) 134 [[Back to README]](../README.md) 135