add-a-comment
AddAComment - JavaScript client for add-a-comment API for adding a comment This SDK is automatically generated by the Swagger Codegen project:
- API version: 1.0.0
- Package version: 1.0.0
- Build date: 2016-04-25T06:43:30.457Z
- Build package: class io.swagger.codegen.languages.JavascriptClientCodegen
Installation
Node.js
Fornpm
To publish the library as a npm, please follow the procedure in "Publishing npm packages".
Then install it via:
npm install add-a-comment --save
git
If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/add-a-comment then install it via:
npm install YOUR_USERNAME/add-a-comment --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 AddAComment = ; var api = var opts = 'uniqueId': 56 // {Integer} Unique identifier for the row to fetch 'comment': "comment_example" // {String} A comment to add; var { if error console; else console; };api;
Documentation for API Endpoints
All URIs are relative to http://rix31068:8080
Class | Method | HTTP request | Description |
---|---|---|---|
AddAComment.DefaultApi | commentsPut | PUT /comments | Updating table field for comment |
Documentation for Models
Documentation for Authorization
All endpoints do not require authorization.