github.com/twilio/twilio-go@v1.20.1/rest/video/v1/docs/RoomsParticipantsPublishedTracksApi.md (about) 1 # RoomsParticipantsPublishedTracksApi 2 3 All URIs are relative to *https://video.twilio.com* 4 5 Method | HTTP request | Description 6 ------------- | ------------- | ------------- 7 [**FetchRoomParticipantPublishedTrack**](RoomsParticipantsPublishedTracksApi.md#FetchRoomParticipantPublishedTrack) | **Get** /v1/Rooms/{RoomSid}/Participants/{ParticipantSid}/PublishedTracks/{Sid} | 8 [**ListRoomParticipantPublishedTrack**](RoomsParticipantsPublishedTracksApi.md#ListRoomParticipantPublishedTrack) | **Get** /v1/Rooms/{RoomSid}/Participants/{ParticipantSid}/PublishedTracks | 9 10 11 12 ## FetchRoomParticipantPublishedTrack 13 14 > VideoV1RoomParticipantPublishedTrack FetchRoomParticipantPublishedTrack(ctx, RoomSidParticipantSidSid) 15 16 17 18 Returns a single Track resource represented by TrackName or SID. 19 20 ### Path Parameters 21 22 23 Name | Type | Description 24 ------------- | ------------- | ------------- 25 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 26 **RoomSid** | **string** | The SID of the Room resource where the Track resource to fetch is published. 27 **ParticipantSid** | **string** | The SID of the Participant resource with the published track to fetch. 28 **Sid** | **string** | The SID of the RoomParticipantPublishedTrack resource to fetch. 29 30 ### Other Parameters 31 32 Other parameters are passed through a pointer to a FetchRoomParticipantPublishedTrackParams struct 33 34 35 Name | Type | Description 36 ------------- | ------------- | ------------- 37 38 ### Return type 39 40 [**VideoV1RoomParticipantPublishedTrack**](VideoV1RoomParticipantPublishedTrack.md) 41 42 ### Authorization 43 44 [accountSid_authToken](../README.md#accountSid_authToken) 45 46 ### HTTP request headers 47 48 - **Content-Type**: Not defined 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 ## ListRoomParticipantPublishedTrack 57 58 > []VideoV1RoomParticipantPublishedTrack ListRoomParticipantPublishedTrack(ctx, RoomSidParticipantSidoptional) 59 60 61 62 Returns a list of tracks associated with a given Participant. Only `currently` Published Tracks are in the list resource. 63 64 ### Path Parameters 65 66 67 Name | Type | Description 68 ------------- | ------------- | ------------- 69 **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc. 70 **RoomSid** | **string** | The SID of the Room resource where the Track resources to read are published. 71 **ParticipantSid** | **string** | The SID of the Participant resource with the published tracks to read. 72 73 ### Other Parameters 74 75 Other parameters are passed through a pointer to a ListRoomParticipantPublishedTrackParams struct 76 77 78 Name | Type | Description 79 ------------- | ------------- | ------------- 80 **PageSize** | **int** | How many resources to return in each list page. The default is 50, and the maximum is 1000. 81 **Limit** | **int** | Max number of records to return. 82 83 ### Return type 84 85 [**[]VideoV1RoomParticipantPublishedTrack**](VideoV1RoomParticipantPublishedTrack.md) 86 87 ### Authorization 88 89 [accountSid_authToken](../README.md#accountSid_authToken) 90 91 ### HTTP request headers 92 93 - **Content-Type**: Not defined 94 - **Accept**: application/json 95 96 [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) 97 [[Back to Model list]](../README.md#documentation-for-models) 98 [[Back to README]](../README.md) 99