Pārlūkot izejas kodu

Merge branch 'master' of github.com:mevdschee/mysql-crud-api

Maurits van der Schee 10 gadus atpakaļ
vecāks
revīzija
47a1ca2097
1 mainītis faili ar 12 papildinājumiem un 0 dzēšanām
  1. 12
    0
      README.md

+ 12
- 0
README.md Parādīt failu

@@ -67,6 +67,18 @@ GET http://localhost/api/categories?page=1,50
67 67
 
68 68
 ### List + Filter
69 69
 
70
+Match types supported:
71
+
72
+  - start (string starts with value)
73
+  - end (string end with value)
74
+  - any (string contains value)
75
+  - exact (string or number matches exactly)
76
+  - lower (number is lower than value)
77
+  - upto (number is lower than or equal to value)
78
+  - from (number is higher than or equal to value)
79
+  - higher (number is higher than value)
80
+  - in (number is in comma seperated list of values)
81
+
70 82
 ```
71 83
 GET http://localhost/api/categories?filter=name:Inter
72 84
 GET http://localhost/api/categories?filter=name:Internet&match=exact

Notiek ielāde…
Atcelt
Saglabāt