github.com/twilio/twilio-go@v1.20.1/rest/video/v1/docs/RecordingsApi.md (about) 1 # RecordingsApi 2 3 All URIs are relative to *https://video.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**DeleteRecording**](RecordingsApi.md#DeleteRecording) | **Delete** /v1/Recordings/{Sid} | 8 [**FetchRecording**](RecordingsApi.md#FetchRecording) | **Get** /v1/Recordings/{Sid} | 9 [**ListRecording**](RecordingsApi.md#ListRecording) | **Get** /v1/Recordings | 10 11 12 13 ## DeleteRecording 14 15 > DeleteRecording(ctx, Sid) 16 17 18 19 Delete a Recording resource identified by a Recording SID. 20 21 ### Path Parameters 22 23 24 Name | Type | Description 25 ------------- | ------------- | ------------- 26 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 27 **Sid** | **string** | The SID of the Recording resource to delete. 28 29 ### Other Parameters 30 31 Other parameters are passed through a pointer to a DeleteRecordingParams struct 32 33 34 Name | Type | Description 35 ------------- | ------------- | ------------- 36 37 ### Return type 38 39 (empty response body) 40 41 ### Authorization 42 43 [accountSid_authToken](../README.md#accountSid_authToken) 44 45 ### HTTP request headers 46 47 - **Content-Type**: Not defined 48 - **Accept**: Not defined 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 ## FetchRecording 56 57 > VideoV1Recording FetchRecording(ctx, Sid) 58 59 60 61 Returns a single Recording resource identified by a Recording SID. 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 Recording resource to fetch. 70 71 ### Other Parameters 72 73 Other parameters are passed through a pointer to a FetchRecordingParams struct 74 75 76 Name | Type | Description 77 ------------- | ------------- | ------------- 78 79 ### Return type 80 81 [**VideoV1Recording**](VideoV1Recording.md) 82 83 ### Authorization 84 85 [accountSid_authToken](../README.md#accountSid_authToken) 86 87 ### HTTP request headers 88 89 - **Content-Type**: Not defined 90 - **Accept**: application/json 91 92 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 93 [[Back to Model list]](../README.md#documentation-for-models) 94 [[Back to README]](../README.md) 95 96 97 ## ListRecording 98 99 > []VideoV1Recording ListRecording(ctx, optional) 100 101 102 103 List of all Track recordings. 104 105 ### Path Parameters 106 107 This endpoint does not need any path parameter. 108 109 ### Other Parameters 110 111 Other parameters are passed through a pointer to a ListRecordingParams struct 112 113 114 Name | Type | Description 115 ------------- | ------------- | ------------- 116 **Status** | **string** | Read only the recordings that have this status. Can be: `processing`, `completed`, or `deleted`. 117 **SourceSid** | **string** | Read only the recordings that have this `source_sid`. 118 **GroupingSid** | **[]string** | Read only recordings with this `grouping_sid`, which may include a `participant_sid` and/or a `room_sid`. 119 **DateCreatedAfter** | **time.Time** | Read only recordings that started on or after this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone. 120 **DateCreatedBefore** | **time.Time** | Read only recordings that started before this [ISO 8601](https://en.wikipedia.org/wiki/ISO_8601) date-time with time zone, given as `YYYY-MM-DDThh:mm:ss+|-hh:mm` or `YYYY-MM-DDThh:mm:ssZ`. 121 **MediaType** | **string** | Read only recordings that have this media type. Can be either `audio` or `video`. 122 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 123 **Limit** | **int** | Max number of records to return. 124 125 ### Return type 126 127 [**[]VideoV1Recording**](VideoV1Recording.md) 128 129 ### Authorization 130 131 [accountSid_authToken](../README.md#accountSid_authToken) 132 133 ### HTTP request headers 134 135 - **Content-Type**: Not defined 136 - **Accept**: application/json 137 138 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 139 [[Back to Model list]](../README.md#documentation-for-models) 140 [[Back to README]](../README.md) 141