forked from joetamburro/Step
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathstep.json
More file actions
96 lines (88 loc) · 2.23 KB
/
Copy pathstep.json
File metadata and controls
96 lines (88 loc) · 2.23 KB
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
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
// Need to be able to create new tracks
// Need to be able to edit tracks and steps
// Need to be able to delete tracks
// Need to be able to place applicants in a rejected queu
// Need to be able to mark applicants as accepted
// Need to be able to visualize an applicants progress through a track
// *** We need a timestamp for application changes so we can filter based on recent changes to an app
// Tracks
// GET /api/v1/tracks/:track_id
[
{
"track_id" : "adsf3453453",
"track_name" : "Greenville Front End Engineering Q1",
"created_by" : "Eric Dodds",
"progress" : 90,
"applicants": [
{
"user_id" : "fc352a990",
"user_photo" : "http://coolguy.com/bob.jpg",
"first_name" : "Joe",
"last_name" : "Tamburro"
}
],
"steps": [
{
"step_number" : "1",
"step_title" : "First Interview",
"step_action" : "dropdown value"
},
{
"step_number" : "2",
"step_title" : "Second Interview",
"step_action" : "dropdown value"
},
]
}
]
// Applicants
// GET /api/v1/applicants
[
{
"user_id" : "fc352a990",
"first_name" : "Joe",
"last_name" : "Tamburro",
"courses" : [
{
"id": "123",
"course_name": "Ruby Engineering",
"status": "rejected",
"progress": 60
},
{
"id": "123",
"course_name": "Python Engineering",
"status": "accepted",
"progress": 100
},
{
"id": "123",
"course_name": "JS Engineering",
"status": "pending",
"progress": 80
}
],
}
]
// ????? Application Questions and Answers
// GET /api/v1/tracks/:track_id/applicant/:applicant_id
[
{
"user_id" : "fc352a990",
"first_name" : "Joe",
"last_name" : "Tamburro",
"url_photo" : "http://coolguys.com/asdf.jpg",
"responses" : [
{
"question_id": "fff00099888773",
"question": "Which course are you applying for?",
"response": "sfdsfasdfasdfas fd asf asfsf"
}
{
"question_id": "fff00099888774",
"question": "Why programming?",
"response": "sfdsfasdfasdfas fd asf asfsf"
}
]
}
]