Constructor of API object. NOTE! OINODb.initDatamodel must be called if created manually instead of the factory.
database for the API
parameters for the API
Readonly
datamodelAPI datamodel
Readonly
dbAPI database reference
Readonly
hashidAPI hashid
Readonly
paramsAPI parameters
Method for handlind a HTTP REST request with GET, POST, PUT, DELETE corresponding to SQL select, insert, update and delete.
HTTP verb (uppercase)
HTTP body data as either serialized string or unserialized JS object / OINODataRow-array
HTTP URL parameters as key-value-pairs
Method for handlind a HTTP REST request with GET, POST, PUT, DELETE corresponding to SQL select, insert, update and delete.
HTTP verb (uppercase)
URL id of the REST request
HTTP body data as either serialized string or unserialized JS object / OINODataRow-array
HTTP URL parameters as key-value-pairs
Method to check if a field is included in the API params.
name of the field
Enable or disable debug output on errors.
true to enable debug output on errors, false to disable
API class with method to process HTTP REST requests.