security_tools/tools/microsoft/cvrf/ruby-client
2022-10-03 14:58:46 -05:00
..
.openapi-generator added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
docs added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
lib added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
spec added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
.gitignore added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
.openapi-generator-ignore added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
.rspec added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
.rubocop.yml added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
.travis.yml added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
Gemfile added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
git_push.sh added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
openapi_client.gemspec added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
Rakefile added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00
README.md added in microsoft exchange release scraper 2022-10-03 14:58:46 -05:00

openapi_client

OpenapiClient - the Ruby gem for the Microsoft Security Updates API

No description provided (generated by Openapi Generator https://github.com/openapitools/openapi-generator)

This SDK is automatically generated by the OpenAPI Generator project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • Build package: org.openapitools.codegen.languages.RubyClientCodegen

Installation

Build a gem

To build the Ruby code into a gem:

gem build openapi_client.gemspec

Then either install the gem locally:

gem install ./openapi_client-1.0.0.gem

(for development, run gem install --dev ./openapi_client-1.0.0.gem to install the development dependencies)

or publish the gem to a gem hosting service, e.g. RubyGems.

Finally add this to the Gemfile:

gem 'openapi_client', '~> 1.0.0'

Install from Git

If the Ruby gem is hosted at a git repository: https:///YOUR_GIT_USERNAME/YOUR_GIT_REPO, then add the following in the Gemfile:

gem 'openapi_client', :git => 'https:///YOUR_GIT_USERNAME/YOUR_GIT_REPO.git'

Include the Ruby code directly

Include the Ruby code directly using -I as follows:

ruby -Ilib script.rb

Getting Started

Please follow the installation procedure and then run the following code:

# Load the gem
require 'openapi_client'

api_instance = OpenapiClient::DefaultApi.new
api_version = 'api_version_example' # String | 
api_key = 'api_key_example' # String | 
id = 'id_example' # String | 

begin
  result = api_instance.cvrf_id_get(api_version, api_key, id)
  p result
rescue OpenapiClient::ApiError => e
  puts "Exception when calling DefaultApi->cvrf_id_get: #{e}"
end

Documentation for API Endpoints

All URIs are relative to https://api.msrc.microsoft.com

Class Method HTTP request Description
OpenapiClient::DefaultApi cvrf_id_get GET /cvrf/{id}
OpenapiClient::DefaultApi updates_get GET /Updates
OpenapiClient::DefaultApi updates_id_get GET /Updates('{id}')

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.