---
# System prepended metadata

title: COMP1531 Tut07

---

# COMP1531 Tut07
Your tutor will break up into random groups for this activity. Take a look at [this webpage](https://www.youtube.com/watch?v=GfL5zOhpB14&ab_channel=UNSWCommunity). What routes do you think are necessary to allow this webpage to function? For each route:

- Discuss the data it might take in
- Discuss the data it might return

Are there any considerations that need to be made when choosing how to break up routes?

HTTP METHOD: GET, POST, PUT, DELETE

---

## AERO

Your answer here:


Data taken in:
GET Current likes
GET current comments
GET amount of likes on each comment
GET video
GET videos that should come up in reccom
GET name of video

Data returned:
POST like/dislike
PUT changing like to dislike
POST adding a comment
POST subscription
PUT editing a comment
timestamps of comments



---

## BOOST

Your answer here:

https://www.youtube.com/watch?v=GfL5zOhpB14&ab_channel=UNSWCommunity

**data take in:**
time to start in video
user account information / cookies
user system info i.e browser, os
did user like the video/subscribe
how long did user watch video
user comments
video info

**data return:**
video
view count
other comments
subscription status
view count
subscriber count
likes
recommended video links


---

## CRUNCHIE

- The data it might take in
get login info(account)
get speed/subtitles
get like data
get subscription count
get video
get next video thumbnails
get array information of playlist

- The data it might return
post number of likes/dislikes
post total view count
post recommended videos
put like 
post description
post link for share

---

## DREAM

Your answer here:
GET comments
POST comments
PUT comment
POST likes/dislikes
PUT total video views
DELETE comments
post timestamp for comments
post replies to comments 

? saving the video onto a local playlist 
? subscription 
