@medable/mdctl-api
Medable Developer Client Tools :: API
Last updated 2 months ago by jamessas .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @medable/mdctl-api 
SYNC missed versions from official npm registry.

mdctl-api

Developer Tools Api module

Usage

  • Client

You can use any credential provider into the credentials object param. such as keychain, keychain or memory

client = new Client({
            strictSSL: false,
            environment: {
              endpoint: 'https://localhost',
              env: 'test'
            },
            credentials: {
              type: 'password',
              apiKey: 'abcdefghijklmnopqrstuv',
              username: 'test@medable.com',
              password: 'password'
            }
          })

If you don't send that information it will try to find these credentials automatically.

  • Environment

Environment is a wrapper for calling import/export endpoints.

Environment.export({
    client,
    stream,
    dir: [location to export data],
    format: 'yaml'
})
Environment.import({
  client,
  gzip: true, //will send the stream into gzip format
  dir: [location to load data],
  format: 'yaml',
  progress: (line) => {
    console.log(line) //here you will see what is going to be sent
  }
})

Current Tags

  • 1.0.54                                ...           latest (2 months ago)

53 Versions

  • 1.0.54                                ...           2 months ago
  • 1.0.53                                ...           2 months ago
  • 1.0.52                                ...           3 months ago
  • 1.0.51                                ...           3 months ago
  • 1.0.50                                ...           3 months ago
  • 1.0.49                                ...           3 months ago
  • 1.0.48                                ...           3 months ago
  • 1.0.47                                ...           3 months ago
  • 1.0.46                                ...           4 months ago
  • 1.0.45                                ...           4 months ago
  • 1.0.44                                ...           4 months ago
  • 1.0.43                                ...           5 months ago
  • 1.0.42                                ...           5 months ago
  • 1.0.41                                ...           5 months ago
  • 1.0.40                                ...           5 months ago
  • 1.0.39                                ...           5 months ago
  • 1.0.38                                ...           6 months ago
  • 1.0.37                                ...           6 months ago
  • 1.0.36                                ...           6 months ago
  • 1.0.35                                ...           6 months ago
  • 1.0.34                                ...           7 months ago
  • 1.0.33                                ...           7 months ago
  • 1.0.32                                ...           7 months ago
  • 1.0.31                                ...           8 months ago
  • 1.0.30                                ...           8 months ago
  • 1.0.29                                ...           8 months ago
  • 1.0.28                                ...           8 months ago
  • 1.0.27                                ...           9 months ago
  • 1.0.26                                ...           9 months ago
  • 1.0.25                                ...           9 months ago
  • 1.0.24                                ...           9 months ago
  • 1.0.23                                ...           9 months ago
  • 1.0.22                                ...           10 months ago
  • 1.0.21                                ...           10 months ago
  • 1.0.20                                ...           a year ago
  • 1.0.19                                ...           a year ago
  • 1.0.18                                ...           a year ago
  • 1.0.17                                ...           a year ago
  • 1.0.16                                ...           a year ago
  • 1.0.15                                ...           a year ago
  • 1.0.14                                ...           a year ago
  • 1.0.13                                ...           a year ago
  • 1.0.12                                ...           a year ago
  • 1.0.10                                ...           a year ago
  • 1.0.9                                ...           a year ago
  • 1.0.7                                ...           a year ago
  • 1.0.6                                ...           a year ago
  • 1.0.5                                ...           a year ago
  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
  • 1.0.2                                ...           a year ago
  • 1.0.1                                ...           a year ago
  • 1.0.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 26
Dependencies (13)
Dev Dependencies (11)

Copyright 2014 - 2016 © taobao.org |