---
# System prepended metadata

title: 'Examples:'

---

Your tutor will break up into groups for this activity. Take a look at this webpage. What routes do you think are necessary to allow this webpage to function? For each route:
Discuss the data it might take in
Method: Get via url (create) and Post (upgrade)
Discuss the data it might return
Json.dumps
# Examples:
- Like/dislike button
    - No input
    - Output: num_likes
- subscribe button
    - Input: User token
    - Output: num_subscribers
- viewing comments
	- No input
	- Output: user_message
- posting comment
	- Input: User token and  message
	- output:user_message
- Share button
	- Input: platform, starting time
	- Output: video url
- Report button
    - Input: type of report
    - Output: None
- Captions, play, pause,... (not on server): 
    - Input: 
    - Output: 
- Save to playlist button:
    - Input: user token, video url, playlist_id
    - Output: success
