New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

qcloud-apigateway

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

qcloud-apigateway

Qcloud API Gateway API

latest
Source
npmnpm
Version
0.0.7
Version published
Weekly downloads
1
-50%
Maintainers
1
Weekly downloads
 
Created
Source

qcloud-apigateway

Qcloud API Gateway api

Undocumented apis spy from qcloud web console

Build Status

Usage

npm i qcloud-apigateway

const { QcloudAPIGateway } = require('qcloud-apigateway')
const ag = new QcloudAPIGateway({SecretId: 'xxx', SecretKey: 'xxx', Region: 'sh'})

ag.describeServicesStatus().then(console.log)

/*
{ totalCount: 1,
  serviceStatusSet:
   [ { serviceDesc: 'API Gateway example.',
       protocol: 'http&https',
       modifiedTime: '2018-02-05 21:48:41',
       serviceId: 'service-0abc0def',
       availableEnvironments: [],
       serviceName: 'demo',
       createdTime: '2018-02-05 21:48:41',
       subDomain: 'service-0abc0def-1257654321.ap-shanghai.apigateway.myqcloud.com' } ] }
*/

API

FIELDTYPEDESCRIPTIONREMARK
#createService
*protocol`httphttpshttp&https`
serviceNamestringService name is NOT unique. If leave blank server will generate a random one.max 50, a-z, A-Z, 0-9, _
serviceDescstring
#describeServicesStatus
limitnumber0 - 100
offsetnumber0 - INFINITY
searchIdstringSearch by service id.Starts with service-
searchNamestringSearch by service name.Starts with service-
@return
totalCountnumber
serviceStatusSet[]
serviceStatusSet[].serviceIdstring
serviceStatusSet[].serviceNamestring
serviceStatusSet[].serviceDescstring
serviceStatusSet[].protocol`httphttpshttp&https`
serviceStatusSet[].subDomainstring
serviceStatusSet[].vailableEnvironments[]

Keywords

qcloud

FAQs

Package last updated on 23 Feb 2018

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