jbt_test
v0.0.21
Published
Rest_API_based_on_java_which_provides_readwritedeletesearch_operations_for_PME_project
Downloads
25
Readme
jbt_test
PivotalMobileEDiscoveryApi - JavaScript client for jbt_test Rest API based on java which provides read/write/delete/search operations for PME project This SDK is automatically generated by the Swagger Codegen project:
- API version: 0.0.1
- Package version: 0.0.1
- 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 jbt_test --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 PivotalMobileEDiscoveryApi = require('jbt_test');
var api = new PivotalMobileEDiscoveryApi.CreateOrderTagApi()
var body = new PivotalMobileEDiscoveryApi.CreateOrderRequest(); // {CreateOrderRequest}
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully. Returned data: ' + data);
}
};
api.createOrder(body, callback);
Documentation for API Endpoints
All URIs are relative to https://{username}.gigantic-server.com:{port}/{basePath}
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- PivotalMobileEDiscoveryApi.CreateOrderTagApi | createOrder | POST /api/v1/orders/createOrder | Create new order PivotalMobileEDiscoveryApi.GetApi | getWithParameters | GET /api/v1/queryTest | Return String PivotalMobileEDiscoveryApi.HealthcheckApi | statuscode | GET /api/v1/healthcheck/statuscode | Endpoint for healthcheck PivotalMobileEDiscoveryApi.LoginApi | login | POST /api/v1/login | Logging in PivotalMobileEDiscoveryApi.OrdersTagApi | getAllOrders | GET /api/v1/orders | Get all orders PivotalMobileEDiscoveryApi.ProductsTagApi | getAllProducts | GET /api/v1/products | Get all products PivotalMobileEDiscoveryApi.ProfileApi | getUserInfo | GET /api/v1/userInfo/{username} | Get user information PivotalMobileEDiscoveryApi.RegressionTestApi | testGet | GET /api/v1/regressionTest/testGet | Test get PivotalMobileEDiscoveryApi.RegressionTestApi | testGetBadRequest | GET /api/v1/regressionTest/testGetBadRequest | Test get bad request PivotalMobileEDiscoveryApi.RegressionTestApi | testPost | POST /api/v1/regressionTest/testPost | Test post PivotalMobileEDiscoveryApi.StubTestTagApi | stubTestEndpointGet | GET /api/v1/stubTest/stubTestEndpoint | stubTestEndpointGet PivotalMobileEDiscoveryApi.TokenApi | refresh | POST /api/v1/token/refresh | Refresh access token PivotalMobileEDiscoveryApi.TreeComparatorApi | compareConditions | GET /api/v1/treeComparator/getConditions | Condition comparator test PivotalMobileEDiscoveryApi.TreeComparatorApi | compareMultiplePatterns | GET /api/v1/treeComparator/multiplePatterns | Compare multiple p() PivotalMobileEDiscoveryApi.TreeGetApi | treeGet | GET /api/v1/treeComparator/tree | Tree Test get PivotalMobileEDiscoveryApi.UserOrdersTagApi | getUserOrders | GET /api/v1/orders/byUserId/{userId} | Get user orders PivotalMobileEDiscoveryApi.VarTestApi | varTestGet | POST /api/v1/varTest/varTestPost | Var Test get
Documentation for Models
- PivotalMobileEDiscoveryApi.ConditionsInResponse
- PivotalMobileEDiscoveryApi.CreateOrderRequest
- PivotalMobileEDiscoveryApi.CreateOrderResponse
- PivotalMobileEDiscoveryApi.DebugInfo
- PivotalMobileEDiscoveryApi.ErrorBody
- PivotalMobileEDiscoveryApi.GenericApiResponseCreateOrderResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseGetWithParametersResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseJwtTokensResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseListConditionsInResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseListMultiplePatternsInResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseListOrderResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseListProductResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseListRegressionTestListResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseListVarTestListResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseProfileResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseRegressionTestPostResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseStubTestResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseTreeGetResponse
- PivotalMobileEDiscoveryApi.GenericApiResponseVoid
- PivotalMobileEDiscoveryApi.GetWithParametersResponse
- PivotalMobileEDiscoveryApi.JwtTokensResponse
- PivotalMobileEDiscoveryApi.LoginRequest
- PivotalMobileEDiscoveryApi.MultiplePatternsInResponse
- PivotalMobileEDiscoveryApi.OrderEntryRequest
- PivotalMobileEDiscoveryApi.OrderEntryResponse
- PivotalMobileEDiscoveryApi.OrderResponse
- PivotalMobileEDiscoveryApi.ProductResponse
- PivotalMobileEDiscoveryApi.ProfileResponse
- PivotalMobileEDiscoveryApi.RefreshTokenRequest
- PivotalMobileEDiscoveryApi.RegressionTestListResponse
- PivotalMobileEDiscoveryApi.RegressionTestPostRequest
- PivotalMobileEDiscoveryApi.RegressionTestPostResponse
- PivotalMobileEDiscoveryApi.StubTestResponse
- PivotalMobileEDiscoveryApi.TreeGetResponse
- PivotalMobileEDiscoveryApi.VarTestListResponse
- PivotalMobileEDiscoveryApi.VarTestRequest