1.0.0 • Published 9 years ago

uh358143_general v1.0.0

Weekly downloads
1
License
Apache-2.0
Repository
-
Last release
9 years ago

uh358143_general

Uh358143General - JavaScript client for uh358143_general API generated with PHP-CRUD-API This SDK is automatically generated by the Swagger Codegen project:

  • API version: 1.0.0
  • Package version: 1.0.0
  • 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 uh358143_general --save

git

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

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

var api = new Uh358143General.G1_congregationApi()

var opts = { 
  'include': "include_example", // {String} One or more related entities (comma separated).
  'order': "order_example", // {String} Column you want to sort on and the sort direction (comma separated). Example: id,desc
  'page': "page_example", // {String} Page number and page size (comma separated). NB: You cannot use \"page\" without \"order\"! Example: 1,10
  'transform': true, // {Boolean} Transform the records to object format. NB: This can also be done client-side in JavaScript!
  'columns': "columns_example", // {String} The table columns you want to retrieve (comma separated). Example: posts.*,categories.name
  'filter': ["filter_example"], // {[String]} Filters to be applied. Each filter consists of a column, an operator and a value (comma separated). Example: id,eq,1
  'satisfy': "satisfy_example" // {String} Should all filters match (default)? Or any?
};

var callback = function(error, data, response) {
  if (error) {
    console.error(error);
  } else {
    console.log('API called successfully. Returned data: ' + data);
  }
};
api.g1CongregationGet(opts, callback);

Documentation for API Endpoints

All URIs are relative to http://kay.net.ua/apich.php

ClassMethodHTTP requestDescription
Uh358143General.G1_congregationApig1CongregationGetGET /g1_congregationList
Uh358143General.G1_congregationApig1CongregationIdDeleteDELETE /g1_congregation/{id}Delete
Uh358143General.G1_congregationApig1CongregationIdGetGET /g1_congregation/{id}Read
Uh358143General.G1_congregationApig1CongregationIdPutPUT /g1_congregation/{id}Update
Uh358143General.G1_congregationApig1CongregationPostPOST /g1_congregationCreate
Uh358143General.G1_ministryApig1MinistryGetGET /g1_ministryList
Uh358143General.G1_ministryApig1MinistryIdDeleteDELETE /g1_ministry/{id}Delete
Uh358143General.G1_ministryApig1MinistryIdGetGET /g1_ministry/{id}Read
Uh358143General.G1_ministryApig1MinistryIdPutPUT /g1_ministry/{id}Update
Uh358143General.G1_ministryApig1MinistryPostPOST /g1_ministryCreate
Uh358143General.G1_personApig1PersonGetGET /g1_personList
Uh358143General.G1_personApig1PersonIdDeleteDELETE /g1_person/{id}Delete
Uh358143General.G1_personApig1PersonIdGetGET /g1_person/{id}Read
Uh358143General.G1_personApig1PersonIdPutPUT /g1_person/{id}Update
Uh358143General.G1_personApig1PersonPostPOST /g1_personCreate
Uh358143General.G1_standApig1StandGetGET /g1_standList
Uh358143General.G1_standApig1StandIdDeleteDELETE /g1_stand/{id}Delete
Uh358143General.G1_standApig1StandIdGetGET /g1_stand/{id}Read
Uh358143General.G1_standApig1StandIdPutPUT /g1_stand/{id}Update
Uh358143General.G1_standApig1StandPostPOST /g1_standCreate

Documentation for Models

Documentation for Authorization

All endpoints do not require authorization.