lib/purecloud/api/downloads_api.rb in purecloud-0.27.0 vs lib/purecloud/api/downloads_api.rb in purecloud-0.28.0

- old
+ new

@@ -29,11 +29,11 @@ if @api_client.config.debugging @api_client.config.logger.debug "Calling API: DownloadsApi#get_callback ..." end # resource path - path = "/api/v1/downloads/callback".sub('{format}','json') + path = "/api/v2/downloads/callback".sub('{format}','json') # query parameters query_params = {} query_params[:'code'] = opts[:'code'] if opts[:'code'] query_params[:'state'] = opts[:'state'] if opts[:'state'] @@ -93,10 +93,10 @@ # verify the required parameter 'download_id' is set fail "Missing the required parameter 'download_id' when calling get_download_id" if download_id.nil? # resource path - path = "/api/v1/downloads/{downloadId}".sub('{format}','json').sub('{' + 'downloadId' + '}', download_id.to_s) + path = "/api/v2/downloads/{downloadId}".sub('{format}','json').sub('{' + 'downloadId' + '}', download_id.to_s) # query parameters query_params = {} query_params[:'contentDisposition'] = opts[:'content_disposition'] if opts[:'content_disposition']