Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

apiman-admin-client

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

apiman-admin-client

Node.js client for the Apiman admin API.

  • 0.4.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

apiman-admin-client

Node.js client for the Apiman admin API.

Build Status Coverage Status

This package provides a Node.js client for the Apiman REST services. It is experimental and still a work in progress.

N.B. This module uses ES6 language features, and as such depends on Node.js version 4.x or higher.

Contributing

Please read the contributing guide

Installation

npm install apiman-admin-client -S

Usage

const apiman = require('apiman-admin-client');

const options = {
  baseUrl: 'http://localhost:8080',
  username: 'yourAdminUsername',
  password: 'yourAdminPassword'
};

apiman(options)
.status()
.then(s => console.log(s.name));

// Apiman default user / password 
apiman({ baseUrl: 'http://host:port' })
.gateways()
.then(g => console.log(g));

// All defaults [ localhost ] 
apiman({}).plugins().then((p) => console.log(p));

You can use to

  • Verify the Apiman status.
  • Import / export the Apiman configuration data.
  • List, add, delete gateways.
  • List all the permissions and permissions by user.
  • List, add, delete plugins.
  • List and delete roles.
  • List and delete policy definitions.
  • Get informations (APIs, Clients, etc..) about the current authenticated user.
  • Update email and full name of the current authenticated user.
  • Get, add, delete an organization.
  • Get informations (APIs, Clients, etc..) about specific user.
  • Update email and full name for a specific user.

API Documentation

http://bucharest-gold.github.io/apiman-admin-client/

If you have the github rights to do it, you can publish the API documentation by running ./build/publish-docs.sh. This script will generate the documentation, then clone this repository into a temporary directory, checkout the gh-pages branch and update it with the newly generated documentation.

Keywords

FAQs

Package last updated on 22 Jun 2016

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

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc