|
@@ -54,6 +54,30 @@ GET http://localhost/api/cate*,user*
|
54
|
54
|
{"categories":{"columns":["id","name"],"records":[["1","Internet"],["3","Web development"]]}}
|
55
|
55
|
```
|
56
|
56
|
|
|
57
|
+### List + Pagination
|
|
58
|
+
|
|
59
|
+```
|
|
60
|
+GET http://localhost/api/categories?page=1
|
|
61
|
+GET http://localhost/api/categories?page=1:50
|
|
62
|
+```
|
|
63
|
+
|
|
64
|
+```
|
|
65
|
+{"categories":{"pages":"1","columns":["id","name"],"records":[["1","Internet"],["3","Web development"]]}}
|
|
66
|
+```
|
|
67
|
+
|
|
68
|
+### List + Filter
|
|
69
|
+
|
|
70
|
+```
|
|
71
|
+GET http://localhost/api/categories?filter=name:Inter
|
|
72
|
+GET http://localhost/api/categories?filter=name:Internet&match=exact
|
|
73
|
+GET http://localhost/api/categories?filter=id:1&match=upto
|
|
74
|
+GET http://localhost/api/categories?filter=id:2&match=lower
|
|
75
|
+```
|
|
76
|
+
|
|
77
|
+```
|
|
78
|
+{"categories":{"pages":"1","columns":["id","name"],"records":[["1","Internet"]]}}
|
|
79
|
+```
|
|
80
|
+
|
57
|
81
|
### Read
|
58
|
82
|
|
59
|
83
|
```
|