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

     1  # RoomsParticipantsSubscribedTracksApi
     2  
     3  All URIs are relative to *https://video.twilio.com*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**FetchRoomParticipantSubscribedTrack**](RoomsParticipantsSubscribedTracksApi.md#FetchRoomParticipantSubscribedTrack) | **Get** /v1/Rooms/{RoomSid}/Participants/{ParticipantSid}/SubscribedTracks/{Sid} | 
     8  [**ListRoomParticipantSubscribedTrack**](RoomsParticipantsSubscribedTracksApi.md#ListRoomParticipantSubscribedTrack) | **Get** /v1/Rooms/{RoomSid}/Participants/{ParticipantSid}/SubscribedTracks | 
     9  
    10  
    11  
    12  ## FetchRoomParticipantSubscribedTrack
    13  
    14  > VideoV1RoomParticipantSubscribedTrack FetchRoomParticipantSubscribedTrack(ctx, RoomSidParticipantSidSid)
    15  
    16  
    17  
    18  Returns a single Track resource represented by `track_sid`.  Note: This is one resource with the Video API that requires a SID, be Track Name on the subscriber side is not guaranteed to be unique.
    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 where the Track resource to fetch is subscribed.
    27  **ParticipantSid** | **string** | The SID of the participant that subscribes to the Track resource to fetch.
    28  **Sid** | **string** | The SID of the RoomParticipantSubscribedTrack resource to fetch.
    29  
    30  ### Other Parameters
    31  
    32  Other parameters are passed through a pointer to a FetchRoomParticipantSubscribedTrackParams struct
    33  
    34  
    35  Name | Type | Description
    36  ------------- | ------------- | -------------
    37  
    38  ### Return type
    39  
    40  [**VideoV1RoomParticipantSubscribedTrack**](VideoV1RoomParticipantSubscribedTrack.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  ## ListRoomParticipantSubscribedTrack
    57  
    58  > []VideoV1RoomParticipantSubscribedTrack ListRoomParticipantSubscribedTrack(ctx, RoomSidParticipantSidoptional)
    59  
    60  
    61  
    62  Returns a list of tracks that are subscribed for the participant.
    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 with the Track resources to read.
    71  **ParticipantSid** | **string** | The SID of the participant that subscribes to the Track resources to read.
    72  
    73  ### Other Parameters
    74  
    75  Other parameters are passed through a pointer to a ListRoomParticipantSubscribedTrackParams 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  [**[]VideoV1RoomParticipantSubscribedTrack**](VideoV1RoomParticipantSubscribedTrack.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