-
Notifications
You must be signed in to change notification settings - Fork 0
/
course.txt
67 lines (53 loc) · 998 Bytes
/
course.txt
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
Course Model
id
uploaded_by
title
description
short_desc
image_url
gallery_images_url
price
tutor_id
has many chapters
upload course
{
-p /courses {course_details, video_urls}
}
id
has_creator
creator_id
name
desc
price
structure{
}
videos{
id
course_id
chapter:4
chapter_desc:
title: Laravel auth
desc: We will teavh you autnentication
*url:
status
}
/uploadcoursevideo
course video object
course_id:1,
total_chapters:4,
videos:
[
{
"chapter":1,
"chapter_title":"Introduction"
"title": "1. What is Rest API",
"desc":"REST is what it is",
"url":"cloudinary.com/video/blablabla",
"status":"uploaded"
},
]
chapters model
{
course_id,
title,
}