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

     1  # CompositionSettingsDefaultApi
     2  
     3  All URIs are relative to *https://video.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**CreateCompositionSettings**](CompositionSettingsDefaultApi.md#CreateCompositionSettings) | **Post** /v1/CompositionSettings/Default | 
     8  [**FetchCompositionSettings**](CompositionSettingsDefaultApi.md#FetchCompositionSettings) | **Get** /v1/CompositionSettings/Default | 
     9  
    10  
    11  
    12  ## CreateCompositionSettings
    13  
    14  > VideoV1CompositionSettings CreateCompositionSettings(ctx, optional)
    15  
    16  
    17  
    18  
    19  
    20  ### Path Parameters
    21  
    22  This endpoint does not need any path parameter.
    23  
    24  ### Other Parameters
    25  
    26  Other parameters are passed through a pointer to a CreateCompositionSettingsParams struct
    27  
    28  
    29  Name | Type | Description
    30  ------------- | ------------- | -------------
    31  **FriendlyName** | **string** | A descriptive string that you create to describe the resource and show to the user in the console
    32  **AwsCredentialsSid** | **string** | The SID of the stored Credential resource.
    33  **EncryptionKeySid** | **string** | The SID of the Public Key resource to use for encryption.
    34  **AwsS3Url** | **string** | The URL of the AWS S3 bucket where the compositions should be stored. We only support DNS-compliant URLs like `https://documentation-example-twilio-bucket/compositions`, where `compositions` is the path in which you want the compositions to be stored. This URL accepts only URI-valid characters, as described in the [RFC 3986](https://tools.ietf.org/html/rfc3986#section-2).
    35  **AwsStorageEnabled** | **bool** | Whether all compositions should be written to the `aws_s3_url`. When `false`, all compositions are stored in our cloud.
    36  **EncryptionEnabled** | **bool** | Whether all compositions should be stored in an encrypted form. The default is `false`.
    37  
    38  ### Return type
    39  
    40  [**VideoV1CompositionSettings**](VideoV1CompositionSettings.md)
    41  
    42  ### Authorization
    43  
    44  [accountSid_authToken](../README.md#accountSid_authToken)
    45  
    46  ### HTTP request headers
    47  
    48  - **Content-Type**: application/x-www-form-urlencoded
    49  - **Accept**: application/json
    50  
    51  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    52  [[Back to Model list]](../README.md#documentation-for-models)
    53  [[Back to README]](../README.md)
    54  
    55  
    56  ## FetchCompositionSettings
    57  
    58  > VideoV1CompositionSettings FetchCompositionSettings(ctx, )
    59  
    60  
    61  
    62  
    63  
    64  ### Path Parameters
    65  
    66  This endpoint does not need any path parameter.
    67  
    68  ### Other Parameters
    69  
    70  Other parameters are passed through a pointer to a FetchCompositionSettingsParams struct
    71  
    72  
    73  ### Return type
    74  
    75  [**VideoV1CompositionSettings**](VideoV1CompositionSettings.md)
    76  
    77  ### Authorization
    78  
    79  [accountSid_authToken](../README.md#accountSid_authToken)
    80  
    81  ### HTTP request headers
    82  
    83  - **Content-Type**: Not defined
    84  - **Accept**: application/json
    85  
    86  [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints)
    87  [[Back to Model list]](../README.md#documentation-for-models)
    88  [[Back to README]](../README.md)
    89