BombbombNodejsOpenapi - JavaScript client for bombbomb-nodejs-openapi We make it easy to use simple video to build relationships This SDK is automatically generated by the Swagger Codegen project:
- API version: 2.0
- Package version: 1.0.0
- Build date: 2016-08-27T05:21:50.012Z
- Build package: class io.swagger.codegen.languages.JavascriptClientCodegen
For Node.js
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install bombbomb-nodejs-openapi --save
If the library is hosted at a git repository, e.g. https://github.com/GIT_USER_ID/GIT_REPO_ID then install it via:
npm install GIT_USER_ID/GIT_REPO_ID --save
The library also works in the browser environment via npm and browserify. After following
the above steps with Node.js and installing browserify with npm install -g browserify
,
perform the following (assuming main.js is your entry file):
browserify main.js > bundle.js
Then include bundle.js in the HTML pages.
Please follow the installation instruction and execute the following JS code:
var BombbombNodejsOpenapi = require('bombbomb-nodejs-openapi');
var api = new BombbombNodejsOpenapi.PromptsApi()
var prompt = new BombbombNodejsOpenapi.JerichoConfiguration(); // {JerichoConfiguration} The Video Email Prompt to be created
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.createVideoEmailPrompt(prompt, callback);
All URIs are relative to https://dev.api.bombbomb.com/v2
Class | Method | HTTP request | Description |
---|---|---|---|
BombbombNodejsOpenapi.PromptsApi | createVideoEmailPrompt | POST /prompt | Prompts user to send a video |
BombbombNodejsOpenapi.PromptsApi | getVideoEmailPrompt | GET /prompt/{id} | Gets a prompt |
BombbombNodejsOpenapi.PromptsApi | respondToVideoEmailPrompt | POST /prompt/{id}/response | Respond to a prompt |
BombbombNodejsOpenapi.TeamsApi | queueJerichoSend | POST /team/{teamId}/jericho | Creates a Jericho send. |
BombbombNodejsOpenapi.UtilitiesApi | createOAuthClient | POST /oauthclient | Create an OAuth Client |
BombbombNodejsOpenapi.UtilitiesApi | deleteOAuthClient | DELETE /oauthclient/{id} | Delete an OAuth Client |
BombbombNodejsOpenapi.UtilitiesApi | getOAuthClients | GET /oauthclient | Lists OAuth Clients |
BombbombNodejsOpenapi.UtilitiesApi | getSpec | GET /spec | Describes this api |
BombbombNodejsOpenapi.WebhooksApi | addWebHook | POST /webhook | Add Webhook |
BombbombNodejsOpenapi.WebhooksApi | deleteWebHook | DELETE /webhook/{hookId} | Deletes Webhook |
BombbombNodejsOpenapi.WebhooksApi | getWebHooks | GET /webhook/ | Lists Webhooks |
BombbombNodejsOpenapi.WebhooksApi | sendWebhookExample | POST /webhook/test | Sends test Webhook |
- BombbombNodejsOpenapi.JerichoConfiguration
- BombbombNodejsOpenapi.ModelString
- BombbombNodejsOpenapi.Webhook
- Type: OAuth
- Flow: implicit
- Authorization URL: https://dev.app.bombbomb.com/auth/authorize
- Scopes:
- all:manage: Manage All
- all:read: Read All
- email:manage: Manage Email
- email:read: Read Email
- video:manage: Manage Video
- video:read: Read Video
- contact:manage: Manage Contact
- contact:read: Read Contact
- automation:manage: Manage Automation
- automation:read: Read Automation
- form:manage: Manage Form
- form:read: Read Form
- settings:manage: Manage Settings