partkeepr

fork of partkeepr
git clone https://git.e1e0.net/partkeepr.git
Log | Files | Refs | Submodules | README | LICENSE

commit d3f4153f704093ae9c837323ddf6ede59b8aa54c
parent a11af60827e35711cae97f75a165c472c3afe074
Author: Timo A. Hummel <felicitus@felicitus.org>
Date:   Sun,  1 Nov 2015 14:14:25 +0100

Delete GENERIC-CONTROLLER.md
Diffstat:
Ddocumentation/GENERIC-CONTROLLER.md | 48------------------------------------------------
1 file changed, 0 insertions(+), 48 deletions(-)

diff --git a/documentation/GENERIC-CONTROLLER.md b/documentation/GENERIC-CONTROLLER.md @@ -1,47 +0,0 @@ -In order to keep implementations small, we need a generic controller mechanism. - -This controller is used for lists, and needs to support the following features: - -# Getting a list -- Pagination -- Filtering (including joined properties) -- Ordering -- Specifying relations to fetch - -## Filtering - -Example: - -```json -filter=[ -{ - "property":"part.manufacturers.manufacturer.url", - "constraint": "atmel.com", - "operator": "contains" -}, -{ - "property":"@sum(part.stockLevels.stockLevel)", - "constraint": 100, - "operator": ">" -} -] -``` - -## Specifying relations to include in the result set - -Example: -fetch=[ -{ - "property":"part.manufacturers" -} - -## - -# Adding an object - -# Updating an object - -# Partially updating an object - -# Removing an object -- Recursive delete with optional preview (=return all entities which would be removed)- \ No newline at end of file