Method: BombBomb::VideosApi#get_video_recorder_with_http_info
- Defined in:
- lib/bombbomb/api/videos_api.rb
#get_video_recorder_with_http_info(opts = {}) ⇒ Array<(VideoRecorderMethodResponse, Fixnum, Hash)>
Get Live Video Recorder HTML Returns an object with a number of properties to help you put a video recorder on your site. This is to be used in conjunction with the VideoRecordedLive call one the user has confirmed in your UI that the video is how they want it.
95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 |
# File 'lib/bombbomb/api/videos_api.rb', line 95 def get_video_recorder_with_http_info(opts = {}) if @api_client.config.debugging @api_client.config.logger.debug "Calling API: VideosApi.get_video_recorder ..." end # resource path local_var_path = "/videos/live/getRecorder" # query parameters query_params = {} query_params[:'width'] = opts[:'width'] if !opts[:'width'].nil? query_params[:'videoId'] = opts[:'video_id'] if !opts[:'video_id'].nil? # header parameters header_params = {} # HTTP header 'Accept' (if needed) header_params['Accept'] = @api_client.select_header_accept(['application/json']) # HTTP header 'Content-Type' header_params['Content-Type'] = @api_client.select_header_content_type(['application/x-www-form-urlencoded']) # form parameters form_params = {} # http body (model) post_body = nil auth_names = ['BBOAuth2'] data, status_code, headers = @api_client.call_api(:GET, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, :auth_names => auth_names, :return_type => 'VideoRecorderMethodResponse') if @api_client.config.debugging @api_client.config.logger.debug "API called: VideosApi#get_video_recorder\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end |