activeeon-proactive-catalog-client-javascript
v7.35.0-SNAPSHOT-1516831347
Published
The_purpose_of_the_catalog_is_to_store_ProActive_objects_A_catalog_is_subdivided_into_buckets__Each_bucket_manages_zero_one_or_moreversioned_ProActive_objects_
Downloads
10
Readme
activeeon_proactive_catalog_client_javascript
ActiveeonProactiveCatalogClientJavascript - JavaScript client for activeeon_proactive_catalog_client_javascript The purpose of the catalog is to store ProActive objects. A catalog is subdivided into buckets. Each bucket manages zero, one or more versioned ProActive objects. This SDK is automatically generated by the Swagger Codegen project:
- API version: 7.35.0-SNAPSHOT-1516831347
- Package version: 7.35.0-SNAPSHOT-1516831347
- Build date: 2018-01-24T16:03:34.368-06:00
- Build package: class io.swagger.codegen.languages.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 activeeon_proactive_catalog_client_javascript --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.
Getting Started
Please follow the installation instruction and execute the following JS code:
var ActiveeonProactiveCatalogClientJavascript = require('activeeon_proactive_catalog_client_javascript');
var api = new ActiveeonProactiveCatalogClientJavascript.BucketcontrollerApi()
var callback = function(error, data, response) {
if (error) {
console.error(error);
} else {
console.log('API called successfully.');
}
};
api.cleanEmptyUsingDELETE(callback);
Documentation for API Endpoints
All URIs are relative to https://localhost:8080/catalog
Class | Method | HTTP request | Description ------------ | ------------- | ------------- | ------------- ActiveeonProactiveCatalogClientJavascript.BucketcontrollerApi | cleanEmptyUsingDELETE | DELETE /buckets | Delete the empty buckets ActiveeonProactiveCatalogClientJavascript.BucketcontrollerApi | createUsingPOST | POST /buckets | Creates a new bucket ActiveeonProactiveCatalogClientJavascript.BucketcontrollerApi | deleteUsingDELETE | DELETE /buckets/{bucketName} | Delete an empty bucket ActiveeonProactiveCatalogClientJavascript.BucketcontrollerApi | getMetadataUsingGET | GET /buckets/{bucketName} | Gets a bucket's metadata by ID ActiveeonProactiveCatalogClientJavascript.BucketcontrollerApi | listUsingGET | GET /buckets | Lists the buckets ActiveeonProactiveCatalogClientJavascript.CatalogobjectcontrollerApi | createUsingPOST1 | POST /buckets/{bucketName}/resources | Creates a new catalog object ActiveeonProactiveCatalogClientJavascript.CatalogobjectcontrollerApi | deleteUsingDELETE1 | DELETE /buckets/{bucketName}/resources/{name} | Delete a catalog object ActiveeonProactiveCatalogClientJavascript.CatalogobjectcontrollerApi | getRawUsingGET | GET /buckets/{bucketName}/resources/{name}/raw | Gets the raw content of the last revision of a catalog object ActiveeonProactiveCatalogClientJavascript.CatalogobjectcontrollerApi | getUsingGET | GET /buckets/{bucketName}/resources/{name} | Gets a catalog object's metadata by IDs ActiveeonProactiveCatalogClientJavascript.CatalogobjectcontrollerApi | listUsingGET1 | GET /buckets/{bucketName}/resources | Lists catalog objects metadata ActiveeonProactiveCatalogClientJavascript.CatalogobjectcontrollerApi | restoreUsingPUT | PUT /buckets/{bucketName}/resources/{name} | Restore a catalog object revision ActiveeonProactiveCatalogClientJavascript.CatalogobjectrevisioncontrollerApi | createUsingPOST2 | POST /buckets/{bucketName}/resources/{name}/revisions | Creates a new catalog object revision ActiveeonProactiveCatalogClientJavascript.CatalogobjectrevisioncontrollerApi | getRawUsingGET1 | GET /buckets/{bucketName}/resources/{name}/revisions/{commitTimeRaw}/raw | Gets the raw content of a specific revision ActiveeonProactiveCatalogClientJavascript.CatalogobjectrevisioncontrollerApi | getUsingGET1 | GET /buckets/{bucketName}/resources/{name}/revisions/{commitTimeRaw} | Gets a specific revision ActiveeonProactiveCatalogClientJavascript.CatalogobjectrevisioncontrollerApi | listUsingGET2 | GET /buckets/{bucketName}/resources/{name}/revisions | Lists a catalog object revisions
Documentation for Models
- ActiveeonProactiveCatalogClientJavascript.BucketMetadata
- ActiveeonProactiveCatalogClientJavascript.CatalogObjectMetadata
- ActiveeonProactiveCatalogClientJavascript.CatalogObjectMetadataList
- ActiveeonProactiveCatalogClientJavascript.Link
- ActiveeonProactiveCatalogClientJavascript.Metadata
Documentation for Authorization
All endpoints do not require authorization.