{{baseUrl}}/auth/login
{
"login": "mock@mock.com",
"password": "mock123"
}
Param | value | Type |
---|
{
"token": "eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJhdXRoLWFwaSIsInN1YiI6InRlc3QxMUB0ZXN0LmNvbSIsImV4cCI6MTcxMTY5NzkwMn0.mILfskZgbqFNCdrEWbfnJxXTi51eR3B5nFb-4UqpOuM"
}
{
"status": 400,
"message": "Invalid email format"
}
{
"status": 400,
"message": "Field 'password' is mandatory"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/auth/register
{
"name": "New Test",
"login": "new@test.com",
"password": "test123",
"role": "USER"
}
Param | value | Type |
---|
{
"status": 400,
"message": "E-mail already exists!"
}
{
"status": 400,
"message": "Invalid Role value!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/user/:id
{
"id": 1,
"name": "Mr. Mock",
"email": "mock@mock.com",
"role": "ADMIN",
"enabled": true,
"username": "mock@mock.com"
}
{
"status": 404,
"message": "User not found!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/user/
[
{
"id": 1,
"name": "Mr. Mock",
"email": "mock@mock.com",
"role": "ADMIN",
"enabled": true,
"username": "mock@mock.com"
},
{
"id": 2,
"name": "Testerson",
"email": "test@test.com",
"role": "USER",
"enabled": true,
"username": "test@test.com"
}
]
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/user/:id
{
"name": "Testerson",
"email": "test@test.com",
"password": "testerson1234"
}
{
"id": 2,
"name": "Testerson",
"email": "test@test.com.br",
"roleNames": [
"USER"
]
}
{
"id": 2,
"name": "Testerson Jr.",
"email": "test@test.com.br",
"roleNames": [
"USER"
]
}
{
"id": 2,
"name": "Testerson Jr.",
"email": "test@test.com.br",
"roleNames": [
"USER"
]
}
{
"status": 400,
"message": "Password must have at least 6 characters"
}
{
"status": 400,
"message": "E-mail already in use by another user!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/user/:id
{
"status": 404,
"message": "User not found!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/list/
{
"title": "New List",
"previousListId": 5 // optional
}
{
"id": 6,
"title": "Last List",
"position": 6
}
{
"id": 7,
"title": "Middle List",
"position": 3.5
}
{
"status": 404,
"message": "Previous List ID not found!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/list/:id
{
"id": 1,
"title": "To Do",
"position": 1,
"tasks": [
{
"id": 2,
"title": "Card 1",
"userName": "Testerson",
"startDate": "24/03/2015",
"endDate": "27/03/2015"
},
{
"id": 52,
"title": "Card 52",
"userName": "Testerson",
"startDate": "24/03/2015",
"endDate": "27/03/2015"
}
]
}
{
"status": 404,
"message": "List not found!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/list/
[
{
"id": 1,
"title": "To Do",
"position": 1.0
},
{
"id": 2,
"title": "Development",
"position": 2.0
},
{
"id": 3,
"title": "Blocked",
"position": 3.0
},
{
"id": 4,
"title": "Testing",
"position": 4.0
},
{
"id": 5,
"title": "Done",
"position": 5.0
},
{
"id": 6,
"title": "Last List",
"position": 6.0
}
]
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/list/:id/title/:newTitle
{
"id": 2,
"title": "Dev",
"position": 2
}
{
"status": 404,
"message": "List not found!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/list/:id
{
"status": 404,
"message": "List not found!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/task/
{
"title": "Task Title",
"description": "creating task",
"usersIds": [1,2],
"listId": 1,
"startDate": "01/01/2024",
"endDate": "30/12/2024"
}
{
"id": 52,
"title": "10",
"description": "creating task",
"users": [
{
"id": 1,
"name": "Mr. Mock"
},
{
"id": 2,
"name": "Testerson"
}
],
"list": {
"id": 1,
"title": "To Do"
},
"startDate": "01/01/2024",
"endDate": "30/12/2024"
}
{
"status": 404,
"message": "User(s) not found!"
}
{
"status": 404,
"message": "List not found!"
}
{
"status": 422,
"message": "Invalid date '00/01/2024'"
}
{
"status": 422,
"message": "Invalid date '32/12/2024'"
}
{
"status": 422,
"message": "Start date cannot be later than end date!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/task/:id
{
"id": 1,
"title": "Card 1",
"description": "desc card",
"user": {
"id": 2,
"name": "Testerson"
},
"list": {
"id": 1,
"title": "To Do"
},
"startDate": "24/03/2015",
"endDate": "27/03/2015"
}
{
"status": 404,
"message": "Task not found!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/task/:taskId/move-to-list/:listId
{
"id": 2,
"title": "Card 1",
"description": "desc card",
"user": {
"id": 2,
"name": "Testerson"
},
"list": {
"id": 3,
"title": "Blocked"
},
"startDate": "24/03/2015",
"endDate": "27/03/2015"
}
{
"status": 404,
"message": "Task not found!"
}
{
"status": 404,
"message": "List not found!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/task/:id
{
"status": 404,
"message": "Task not found!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/subtask/
{
"title": "Sub Subtask Title",
"description": "creating subtask",
"usersIds": [1,2],
"listId": 3,
"startDate": "01/01/2025",
"endDate": "30/12/2025",
"parentTaskId": 1
}
{
"id": 52,
"title": "Sub Subtask Title",
"description": "creating subtask",
"users": [
{
"id": 1,
"name": "Mr. Mock"
},
{
"id": 2,
"name": "Testerson"
}
],
"list": {
"id": 3,
"title": "Blocked"
},
"startDate": "01/01/2025",
"endDate": "30/12/2025",
"parentTaskId": 1
}
{
"status": 422,
"message": "Parent ID cannot be a subtask!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
{{baseUrl}}/subtask/:id
{
"id": 2,
"title": "Sub Subtask Title",
"description": "creating subtask",
"users": [
{
"id": 2,
"name": "Testerson"
}
],
"list": {
"id": 3,
"title": "Blocked"
},
"startDate": "01/01/2025",
"endDate": "30/12/2025",
"parentTaskId": 1
}
{
"status": 404,
"message": "Subtask not found!"
}
⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃ ⁃
Powered By: postman-to-markdown