Socket
Book a DemoInstallSign in
Socket

@rhoas/registry-instance-sdk

Package Overview
Dependencies
Maintainers
5
Versions
51
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@rhoas/registry-instance-sdk

RHOAS Service Registry Instance Adminstration SDK

0.48.0
Source
npmnpm
Version published
Weekly downloads
155
-33.48%
Maintainers
5
Weekly downloads
 
Created
Source

Service Registry Instance SDK

Service Registry (Apicurio Registry) instance SDK

NOTE: SDK is designed to work with Managed version of APIcurio Registry but it can be also consumed upstream

Getting Started

Install Package

npm install @rhoas/registry-instance-sdk --save

Usage

import { Configuration, DefaultApi } from "@rhoas/registry-instance-sdk";

const accessToken = process.env.CLOUD_API_TOKEN;
const basePath = "https://api.openshift.com";

const apiConfig = new Configuration({
  accessToken,
  basePath,
});

const instance = new DefaultApi(apiConfig)

instance.getArtifacts().then((data) => {
    console.log(data?.data)
}).catch((err) => {
    console.error(err.message)
})

Keywords

rhoas

FAQs

Package last updated on 09 Nov 2022

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.