Project

General

Profile

Actions

Feature #1370

closed

API: Refactoring

Added by Bernhard Koschiček-Krombholz about 4 years ago. Updated about 4 years ago.

Status:
Closed
Priority:
Normal
Category:
API
Target version:
Start date:
2020-09-29
Estimated time:

Description

API Refactoring
  • Removed the misleading [] in /query/ path
  • Moved some api.py functions to path.py
  • Refactored api.py for better modularity
  • Class checking if they exist with g.classes object to eliminate if len = 0. g.classes
  • Refactor error messages and added new error messages
  • SQL filter method secured against SQL injections
  • Multiple clauses with filter
  • Changed filter request from e.g. and(like,name,XXX) to and|name|like|XXX
  • Secure filter option
Actions

Also available in: Atom PDF