Skip to content
This repository was archived by the owner on Jun 11, 2022. It is now read-only.

Commit 72d79ab

Browse files
committed
Update README.md
1 parent 09155e1 commit 72d79ab

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

README.md

+8-8
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@ Tested on **H2Database** v1.4.196.
1414

1515
* Build using Maven `mvn install`
1616
* 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.
1919
* Initialize the database with provided script `/sakila-min.sql`
2020
* by default script provides admin user as _user: admin'_, _password: 'admin'_
2121
* Create _.properties_ file including all necessary data:
@@ -27,7 +27,7 @@ Tested on **H2Database** v1.4.196.
2727
username=*login for your database*
2828
password=*password for your database*
2929
```
30-
30+
3131
* Run application with the following parameters:
3232
* `-port [1024..49151]` - port number that will be used by server
3333
* `-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.
6060
Can access **all routes** of the API in terms of his usage limits and has ability to:
6161
* access all users' data,
6262
* add new users,
63-
* delete current users,
64-
* renew current users' usage limits.
63+
* delete users,
64+
* renew users' usage limits.
6565
6666
## Public routes
6767
@@ -155,11 +155,11 @@ by listing many ids
155155
156156
/users?filter=all...
157157
158-
* admin (filters by role)
158+
* admin (returns all admins)
159159
160160
/users?filter=admin...
161161
162-
* user (filters by role)
162+
* user (returns all standard users)
163163
164164
/users?filter=user...
165165
@@ -180,7 +180,7 @@ by listing many ids
180180
181181
* delete
182182
183-
/admin?action=add&id=65536
183+
/admin?action=delete&id=65536
184184
185185
186186
You can modify multiple records within one request, for example:

0 commit comments

Comments
 (0)