uh358143_general v1.0.0
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
Class | Method | HTTP request | Description |
---|---|---|---|
Uh358143General.G1_congregationApi | g1CongregationGet | GET /g1_congregation | List |
Uh358143General.G1_congregationApi | g1CongregationIdDelete | DELETE /g1_congregation/{id} | Delete |
Uh358143General.G1_congregationApi | g1CongregationIdGet | GET /g1_congregation/{id} | Read |
Uh358143General.G1_congregationApi | g1CongregationIdPut | PUT /g1_congregation/{id} | Update |
Uh358143General.G1_congregationApi | g1CongregationPost | POST /g1_congregation | Create |
Uh358143General.G1_ministryApi | g1MinistryGet | GET /g1_ministry | List |
Uh358143General.G1_ministryApi | g1MinistryIdDelete | DELETE /g1_ministry/{id} | Delete |
Uh358143General.G1_ministryApi | g1MinistryIdGet | GET /g1_ministry/{id} | Read |
Uh358143General.G1_ministryApi | g1MinistryIdPut | PUT /g1_ministry/{id} | Update |
Uh358143General.G1_ministryApi | g1MinistryPost | POST /g1_ministry | Create |
Uh358143General.G1_personApi | g1PersonGet | GET /g1_person | List |
Uh358143General.G1_personApi | g1PersonIdDelete | DELETE /g1_person/{id} | Delete |
Uh358143General.G1_personApi | g1PersonIdGet | GET /g1_person/{id} | Read |
Uh358143General.G1_personApi | g1PersonIdPut | PUT /g1_person/{id} | Update |
Uh358143General.G1_personApi | g1PersonPost | POST /g1_person | Create |
Uh358143General.G1_standApi | g1StandGet | GET /g1_stand | List |
Uh358143General.G1_standApi | g1StandIdDelete | DELETE /g1_stand/{id} | Delete |
Uh358143General.G1_standApi | g1StandIdGet | GET /g1_stand/{id} | Read |
Uh358143General.G1_standApi | g1StandIdPut | PUT /g1_stand/{id} | Update |
Uh358143General.G1_standApi | g1StandPost | POST /g1_stand | Create |
Documentation for Models
- Uh358143General.InlineResponse200
- Uh358143General.InlineResponse2001
- Uh358143General.InlineResponse2002
- Uh358143General.InlineResponse2003
- Uh358143General.Item
- Uh358143General.Item1
- Uh358143General.Item2
- Uh358143General.Item3
- Uh358143General.Item4
- Uh358143General.Item5
- Uh358143General.Item6
- Uh358143General.Item7
Documentation for Authorization
All endpoints do not require authorization.
9 years ago