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
API class with method to process HTTP REST requests.