ibble_api v1.0.0
ibble_api
IbbleApi - JavaScript client for ibble_api asdfasd fasdf asdf asdf asdf asdf asdf as df This SDK is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.v3.generators.javascript.JavaScriptClientCodegen
Installation
For Node.js
npm
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install ibble_api --save
git
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
For browser
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.
Webpack Configuration
Using Webpack you may encounter the following error: "Module not found: Error: Cannot resolve module", most certainly you should disable AMD loader. Add/merge the following section to your webpack config:
module: {
rules: [
{
parser: {
amd: false
}
}
]
}
Getting Started
Please follow the installation instruction and execute the following JS code:
var IbbleApi = require('ibble_api');
var api = new IbbleApi.InterestsApi()
var body = new IbbleApi.CreateManyInterestDto(); // {CreateManyInterestDto}
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createManyBaseInterestControllerInterest(body, callback);
Documentation for API Endpoints
All URIs are relative to /
Class | Method | HTTP request | Description |
---|---|---|---|
IbbleApi.InterestsApi | createManyBaseInterestControllerInterest | POST /api/v1/interests/bulk | Create many Interest |
IbbleApi.InterestsApi | createOneBaseInterestControllerInterest | POST /api/v1/interests | Create one Interest |
IbbleApi.InterestsApi | deleteOneBaseInterestControllerInterest | DELETE /api/v1/interests/{id} | Delete one Interest |
IbbleApi.InterestsApi | getManyBaseInterestControllerInterest | GET /api/v1/interests | Retrieve many Interest |
IbbleApi.InterestsApi | getOneBaseInterestControllerInterest | GET /api/v1/interests/{id} | Retrieve one Interest |
IbbleApi.InterestsApi | replaceOneBaseInterestControllerInterest | PUT /api/v1/interests/{id} | Replace one Interest |
IbbleApi.InterestsApi | updateOneBaseInterestControllerInterest | PATCH /api/v1/interests/{id} | Update one Interest |
IbbleApi.LinksApi | createOneBaseLinksControllerLink | POST /api/v1/links | Create one Link |
IbbleApi.LinksApi | deleteOneBaseLinksControllerLink | DELETE /api/v1/links/{id} | Delete one Link |
IbbleApi.LinksApi | getManyBaseLinksControllerLink | GET /api/v1/links | Retrieve many Link |
IbbleApi.LinksApi | getOneBaseLinksControllerLink | GET /api/v1/links/{id} | Retrieve one Link |
IbbleApi.TroughApi | troughControllerRavage | POST /api/v1/trough/ravage | |
IbbleApi.TroughApi | troughControllerScavenge | POST /api/v1/trough/scavenge |
Documentation for Models
- IbbleApi.CreateLink
- IbbleApi.CreateManyInterestDto
- IbbleApi.GetManyInterestResponseDto
- IbbleApi.GetManyLinkResponseDto
- IbbleApi.Interest
- IbbleApi.InterestHierarchy
- IbbleApi.Link
- IbbleApi.ParsedResultResponse
- IbbleApi.PostInterest
- IbbleApi.RavagePostModel
- IbbleApi.ScavengePostModel
- IbbleApi.StandardError
Documentation for Authorization
api_key
- Type: API key
- API key parameter name: api_key
- Location: HTTP header
bearer
4 years ago