8.0.0 • Published 6 years ago

cloudapi-gql v8.0.0

Weekly downloads
23
License
MPL-2.0
Repository
github
Last release
6 years ago

cloudapi-gql

License: MPL 2.0 Build Status

hapi plugin that exposes CloudApi through GraphQL.

Table of Contents

Install

npm install cloudapi-gql

Options

  • authStrategy: name of the hapi auth strategy to use for /graphql route
  • keyPath private key file path for the key associated with Triton account
  • keyId: string in the form of /${SDC_ACCOUNT}/keys/${SDC_KEY_ID}
  • apiBaseUrl: cloud API base URL to connect to

Usage

const server = new Hapi.Server();
await server.register({ plugin: CloudApiGQL, options: { authStrategy, keyPath, keyId, apiBaseUrl } });

Local development

npm run dev

npm.io npm.io npm.io npm.io

npm run faker

npm.io

8.0.0

6 years ago

7.2.1

6 years ago

7.2.0

6 years ago

7.1.4

6 years ago

7.1.3

6 years ago

7.1.2

6 years ago

7.1.1

6 years ago

7.1.0

6 years ago

7.0.1

6 years ago

7.0.0

6 years ago

6.1.1

6 years ago

6.1.0

6 years ago

6.0.0

6 years ago

5.0.0

6 years ago

4.6.0

6 years ago

4.5.1

6 years ago

4.5.0

6 years ago

4.4.0

6 years ago

4.3.1

6 years ago

4.3.0

6 years ago

4.1.0

6 years ago

4.0.0

6 years ago

3.1.0

6 years ago

2.0.1

7 years ago

2.0.0

7 years ago