1.0.0 • Published 7 years ago

rest_marks_full v1.0.0

Weekly downloads
1
License
Unlicense
Repository
-
Last release
7 years ago

rest_marks_full

RestMarksFull - JavaScript client for rest_marks_full RestMarksFull writen in openapi specs 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.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 rest_marks_full --save

git

If the library is hosted at a git repository, e.g. https://github.com/YOUR_USERNAME/rest_marks_full then install it via:

    npm install YOUR_USERNAME/rest_marks_full --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 RestMarksFull = require('rest_marks_full');

var api = new RestMarksFull.DefaultApi()

var accountId = 56; // {Number} The account's id

var bookmarkId = 56; // {Number} The bookmarks's id


var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully.');
  }
};
api.accountAccountIdBookmarkBookmarkIdDelete(accountId, bookmarkId, callback);

Documentation for API Endpoints

All URIs are relative to http://localhost:8085/RESTMarksFull/api

ClassMethodHTTP requestDescription
RestMarksFull.DefaultApiaccountAccountIdBookmarkBookmarkIdDeleteDELETE /account/{accountId}/bookmark/{bookmarkId}Deletes an account
RestMarksFull.DefaultApiaccountAccountIdBookmarkBookmarkIdGetGET /account/{accountId}/bookmark/{bookmarkId}Gets a bookmark given an account's id
RestMarksFull.DefaultApiaccountAccountIdBookmarkBookmarkIdPutPUT /account/{accountId}/bookmark/{bookmarkId}Updates a bookmark
RestMarksFull.DefaultApiaccountAccountIdBookmarkPostPOST /account/{accountId}/bookmarkCreates a bookmark
RestMarksFull.DefaultApiaccountAccountIdDeleteDELETE /account/{accountId}Deletes an account
RestMarksFull.DefaultApiaccountAccountIdGetGET /account/{accountId}Gets an account
RestMarksFull.DefaultApiaccountAccountIdPutPUT /account/{accountId}Updates an account
RestMarksFull.DefaultApiaccountPostPOST /accountCreates an account
RestMarksFull.DefaultApisearchAccountsGET /accountGets Accounts
RestMarksFull.DefaultApisearchBookmarksGET /account/{accountId}/bookmarkGets all Bookmarks given an account's id

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.