-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathapi.http
More file actions
49 lines (39 loc) · 784 Bytes
/
api.http
File metadata and controls
49 lines (39 loc) · 784 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
# store project
GET http://localhost:3005/api/projects/
Content-Type: application/json
###
# store project
POST http://localhost:3005/api/projects/
Content-Type: application/json
{
"title" : "home-next",
"color" : "pink",
"order": 3,
"priority": 5
}
###
# store sprint
POST http://localhost:3005/api/sprints/
Content-Type: application/json
{
"title" : "🤢 clean code!",
"type" : "dev",
"project": "5fa6ab69b475bf28cf17d8c1",
"start": "2020-11-15",
"end": "2020-11-24"
}
###
# store task
POST http://localhost:3005/api/tasks/
Content-Type: application/json
{
"title" : "PUT api user",
"sprint": "5fa5cf926912175d553e3ab6"
}
###
###
GET http://localhost:3005/api/projects/
###
###
GET http://localhost:3005/api/sprints/
###