@@ -14,8 +14,8 @@ Tested on **H2Database** v1.4.196.
14
14
15
15
* Build using Maven ` mvn install `
16
16
* Create a new database
17
- * you can find ** ready-to-go** database and .properties files in folder ` /example_db ` .
18
- Use these to skip the following two steps.
17
+ * NOTE: you can find ** ready-to-go** database and .properties file in folder ` /example_db ` .
18
+ Use these to skip the next two steps.
19
19
* Initialize the database with provided script ` /sakila-min.sql `
20
20
* by default script provides admin user as _ user: admin'_ , _ password: 'admin'_
21
21
* Create _ .properties_ file including all necessary data:
@@ -27,7 +27,7 @@ Tested on **H2Database** v1.4.196.
27
27
username=*login for your database*
28
28
password=*password for your database*
29
29
```
30
-
30
+
31
31
* Run application with the following parameters:
32
32
* `-port [1024..49151]` - port number that will be used by server
33
33
* `-dbProps path` - **relative** path to _.properties_ file
@@ -60,8 +60,8 @@ Can access all **public** routes of the API in terms of his usage limits.
60
60
Can access **all routes** of the API in terms of his usage limits and has ability to:
61
61
* access all users' data,
62
62
* add new users,
63
- * delete current users,
64
- * renew current users' usage limits.
63
+ * delete users,
64
+ * renew users' usage limits.
65
65
66
66
## Public routes
67
67
@@ -155,11 +155,11 @@ by listing many ids
155
155
156
156
/users?filter=all...
157
157
158
- * admin (filters by role )
158
+ * admin (returns all admins )
159
159
160
160
/users?filter=admin...
161
161
162
- * user (filters by role )
162
+ * user (returns all standard users )
163
163
164
164
/users?filter=user...
165
165
@@ -180,7 +180,7 @@ by listing many ids
180
180
181
181
* delete
182
182
183
- /admin?action=add &id=65536
183
+ /admin?action=delete &id=65536
184
184
185
185
186
186
You can modify multiple records within one request, for example:
0 commit comments