A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | List videos | GET | /video | |||||||||||||||||||||||
2 | Find all videos in video model and respond with JSON dictionary of videos. | |||||||||||||||||||||||||
3 | Target Action | |||||||||||||||||||||||||
4 | Params | Blueprint find | ||||||||||||||||||||||||
5 | none | |||||||||||||||||||||||||
6 | Response | |||||||||||||||||||||||||
7 | 200 OK | |||||||||||||||||||||||||
8 | [{ id: 1, src: "https://www.youtube.com/embed/_OBlgSz8sSM", title: "Charlie bit my finger - again!", createdAt: "2016-02-22T20:27:21.513Z", updatedAt: "2016-02-22T20:27:21.513Z" }] | |||||||||||||||||||||||||
9 | ||||||||||||||||||||||||||
10 | Add video | POST | /video | |||||||||||||||||||||||
11 | Add a new video to the video model using the title and src input elements. | |||||||||||||||||||||||||
12 | ||||||||||||||||||||||||||
13 | Params | Example | Target Action | |||||||||||||||||||||||
14 | title | Pharrell Williams - Happy (Official Music Video) | Blueprint create | |||||||||||||||||||||||
15 | src | https://www.youtube.com/watch?v=y6Sxv-sUYtM | ||||||||||||||||||||||||
16 | ||||||||||||||||||||||||||
17 | Response | |||||||||||||||||||||||||
18 | 200 OK | |||||||||||||||||||||||||
19 | { id: 1, src: "https://www.youtube.com/embed/_OBlgSz8sSM", title: "Charlie bit my finger - again!", createdAt: "2016-02-22T20:27:21.513Z", updatedAt: "2016-02-22T20:27:21.513Z" } | |||||||||||||||||||||||||
20 | ||||||||||||||||||||||||||
21 | Home page | GET | / | |||||||||||||||||||||||
22 | Displays the nav bar and signup button. | |||||||||||||||||||||||||
23 | ||||||||||||||||||||||||||
24 | Params | Target Action | ||||||||||||||||||||||||
25 | none | none - Asset Route | ||||||||||||||||||||||||
26 | Response | |||||||||||||||||||||||||
27 | 200 OK | |||||||||||||||||||||||||
28 | contents of brushfire/assets/index.html | |||||||||||||||||||||||||
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 | ||||||||||||||||||||||||||
97 | ||||||||||||||||||||||||||
98 | ||||||||||||||||||||||||||
99 | ||||||||||||||||||||||||||
100 |