1
0

Subtasks (#28)

This commit is contained in:
konrad
2018-12-01 02:00:57 +00:00
committed by Gitea
parent 007d8ec375
commit 6c5885747b
8 changed files with 59 additions and 11 deletions

View File

@ -3,8 +3,8 @@ POST http://localhost:8080/api/v1/login
Content-Type: application/json
{
"username": "user5",
"password": "1234"
"username": "user",
"password": "12345"
}
> {% client.global.set("auth_token", response.body.token); %}

View File

@ -22,11 +22,15 @@ Content-Type: application/json
###
# Add a new item
PUT http://localhost:8080/api/v1/lists/14
PUT http://localhost:8080/api/v1/lists/15
Authorization: Bearer {{auth_token}}
Content-Type: application/json
{"text": "test2", "description": "Schinken"}
{
"text": "this is a subtask 2",
"description": "Schinken",
"parentTaskID": 34
}
###