lib/cloudsmith-api/api/packages_api.rb in cloudsmith-api-2.0.13 vs lib/cloudsmith-api/api/packages_api.rb in cloudsmith-api-2.0.14

- old
+ new

@@ -72,11 +72,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -138,11 +138,11 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:DELETE, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -203,11 +203,11 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] 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, @@ -275,11 +275,11 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] 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, @@ -343,11 +343,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -356,12 +356,12 @@ if @api_client.config.debugging @api_client.config.logger.debug "API called: PackagesApi#packages_move\nData: #{data.inspect}\nStatus code: #{status_code}\nHeaders: #{headers}" end return data, status_code, headers end - # Quarantine or restore a package. - # Quarantine or restore a package. + # Quarantine or release a package. + # Quarantine or release a package. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters # @option opts [PackageQuarantineRequest] :data @@ -369,12 +369,12 @@ def packages_quarantine(owner, repo, identifier, opts = {}) data, _status_code, _headers = packages_quarantine_with_http_info(owner, repo, identifier, opts) data end - # Quarantine or restore a package. - # Quarantine or restore a package. + # Quarantine or release a package. + # Quarantine or release a package. # @param owner # @param repo # @param identifier # @param [Hash] opts the optional parameters # @option opts [PackageQuarantineRequest] :data @@ -411,11 +411,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -477,11 +477,11 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] 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, @@ -543,11 +543,11 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -609,11 +609,11 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -675,11 +675,11 @@ # form parameters form_params = {} # http body (model) post_body = nil - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] 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, @@ -743,11 +743,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -805,11 +805,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -867,11 +867,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -929,11 +929,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -991,11 +991,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1053,11 +1053,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1115,11 +1115,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1177,11 +1177,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1239,11 +1239,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1301,11 +1301,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1363,11 +1363,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1425,11 +1425,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1487,11 +1487,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1549,11 +1549,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1611,11 +1611,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1673,11 +1673,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1735,11 +1735,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1797,11 +1797,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1859,11 +1859,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1921,11 +1921,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -1983,11 +1983,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2045,11 +2045,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2107,11 +2107,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2169,11 +2169,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2231,11 +2231,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2293,11 +2293,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2355,11 +2355,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2416,11 +2416,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2477,11 +2477,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2538,11 +2538,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2599,11 +2599,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2660,11 +2660,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2721,11 +2721,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2782,11 +2782,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2843,11 +2843,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2904,11 +2904,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -2965,11 +2965,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3026,11 +3026,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3087,11 +3087,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3148,11 +3148,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3209,11 +3209,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3270,11 +3270,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3331,11 +3331,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3392,11 +3392,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3453,11 +3453,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3514,11 +3514,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3575,11 +3575,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3636,11 +3636,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3697,11 +3697,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3758,11 +3758,11 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body, @@ -3819,10 +3819,10 @@ # form parameters form_params = {} # http body (model) post_body = @api_client.object_to_http_body(opts[:'data']) - auth_names = ['apikey'] + auth_names = ['apikey', 'basic', 'token'] data, status_code, headers = @api_client.call_api(:POST, local_var_path, :header_params => header_params, :query_params => query_params, :form_params => form_params, :body => post_body,