Welcome to QxOrm HTTP Server - qxBlogRestApi example project
JSON request
JSON response
Here are some request examples :
- get project meta-data (all classes)
- fetch all blogs (as list)
- fetch all blogs (as collection key/value)
- fetch all blogs with relationships (several levels)
- fetch all blogs with relationships (several levels) and define output format
- fetch a single blog by id
- fetch some columns of a single blog by id
- fetch list of blogs by id
- fetch list of blogs by id and define output format
- fetch authors using a query (only female)
- fetch authors with relationships using a query
- fetch authors with relationships using a query and define output format
- insert a blog
- insert list of blogs
- insert an author
- insert a category
- update a blog
- update some columns of blog
- update an author
- update list of authors
- update a category
- save (insert or update) a blog
- save (insert or update) list of blogs
- save (insert or update) a blog with relationships (recursively)
- save (insert optimized) a blog with relationships (recursively)
- check if a blog id exist
- check if list of blogs id exist
- check if an author id exist
- validate a blog instance
- count all blogs
- count authors using a query
- count blogs using a query and relationships
- delete a blog by id
- delete list of blogs by id
- delete some authors using a query
- delete all comments
- call custom database query or stored procedure
- call entity static function with signature : static QJsonValue myEntity::myFct(const QJsonValue & request)
- build several requests in array to send only 1 call to server (executed in a transaction commit/rollback)