- See resources/SimpleTODO.postman_collection.json
- ADMIN (role assignments)
-
- (role assignment USER)
- If property "simpletodo.signup" is set to "DISABLED", no new user can register itself
POST
http://localhost:9090/api/auth/signup
{ "username": "User", "email": "user@example.com", "password": "password", "roles": ["admin", "user"] }
POST
http://localhost:9090/api/auth/signin
{ "username": "User", "password": "password" }
GET
http://localhost:9090/api/connection/available
- Admin
- User
GET
http://localhost:9090/api/connection/authorized
Authorization Bearer TOKEN
GET
http://localhost:9090/api/i18n/languages
GET
http://localhost:9090/api/i18n/languages/LANGID
- Admin
- User
GET
http://localhost:9090/api/workspaces
Authorization Bearer TOKEN
- Admin
- User
GET
http://localhost:9090/api/workspaces/WSID
Authorization Bearer TOKEN
- Admin
- User
POST
http://localhost:9090/api/workspaces
Authorization Bearer TOKEN
{ "name": "New Workspace", "users": ["USRID"] }
- Admin
- User
PUT
http://localhost:9090/api/workspaces/WSID
Authorization Bearer TOKEN
{ "name": "Updated name", "users": ["USRID"] }
- Admin
- User
DELETE
http://localhost:9090/api/workspaces/WSID
Authorization Bearer TOKEN
- Admin
- User
GET
http://localhost:9090/api/lists/WSID
Authorization Bearer TOKEN
- Admin
- User
GET
http://localhost:9090/api/lists/WSID/LID
Authorization Bearer TOKEN
- Admin
- User
POST
http://localhost:9090/api/lists/WSID
Authorization Bearer TOKEN
{ "name": "New list" }
- Admin
- User
PUT
http://localhost:9090/api/lists/WSID/LID
Authorization Bearer TOKEN
{ "name": "Updated name" }
- Admin
- User
PUT
http://localhost:9090/api/lists/WSID/LID/move
Authorization Bearer TOKEN
{ "workspaceId": "WID" }
- Admin
- User
DELETE
http://localhost:9090/api/lists/WSID/LID
Authorization Bearer TOKEN
- Admin
- User
GET
http://localhost:9090/api/todos/WSID/LID
Authorization Bearer TOKEN
- Admin
- User
GET
http://localhost:9090/api/todos/WSID/LID/TID
Authorization Bearer TOKEN
- Admin
- User
POST
http://localhost:9090/api/todos/WSID/LID
Authorization Bearer TOKEN
{ "msg": "new Todo", "dueDate": null }
- Admin
- User
PUT
http://localhost:9090/api/todos/WSID/LID/TID
Authorization Bearer TOKEN
{ "msg": "Updated name", "dueDate": null }
- Admin
- User
PUT
http://localhost:9090/api/todos/WSID/LID/TID/move
Authorization Bearer TOKEN
{ "listId": "LID" }
- Admin
- User
DELETE
http://localhost:9090/api/todos/WSID/LID/TID
Authorization Bearer TOKEN
- Admin
GET
http://localhost:9090/api/users
Authorization Bearer TOKEN
- Admin
- User
GET
http://localhost:9090/api/users/UID
Authorization Bearer TOKEN
- Admin
- User
GET
http://localhost:9090/api/users/UID/duetodos
Authorization Bearer TOKEN
- Admin
- User
PUT
http://localhost:9090/api/users/UID
Authorization Bearer TOKEN
{ "name": "Updated name", "users": ["USRID"] }
- Admin
- User
DELETE
http://localhost:9090/api/users/UID
Authorization Bearer TOKEN
POST
http://localhost:9090/api/users/password/forgot
{ "username": "User", "email": "Email" }
PUT
http://localhost:9090/api/users/password/reset/TokenID
- User
- Admin
PUT
http://localhost:9090/api/users/verify/resend
PUT