Project

General

Profile

Actions

Feature #1370

closed

API: Refactoring

Added by Bernhard Koschiček-Krombholz over 3 years ago. Updated over 3 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