Save to bookmarks api
Post- **http://localhost:8082/api/bookmark**
{
"userId": "12",
"lectureId": "18"
}
Response- lecture added to bookmarks
Get all bookmarks
Get- http://localhost:8082/api/getList/{userId}
{
"lectureid": 18,
"title": "Introduction to html",
"category": "CSBT",
"batch": "FT-WEB-24",
"section": "JS201",
"type": "Video",
"schedule": "2023-03-06 16:59:00",
"concludes": "2023-03-06 17:59:00",
"tags": [
"html",
"css",
"javascript"
],
"createdBy": "Tridip Rong",
"updatedBy": null,
"hideVideo": false,
"optional": false,
"zoomLink": "<https://zoom.us/j/1234567890?pwd=xxxxxxxxxxxx>",
"day": "monday",
"week": "Week 3",
"notes": "This lecture will cover the basics of webdevelopment and how to get started with building web applications using this framework."
}
Delete bookmarks
Delete - http://localhost:8082/api/{userId}/{lectureId}
{
"message": "Lecture removed",
"success": **true**
}
Get Category List
Get- http://localhost:8082/api/categoryList
[
{
"id": 3,
"categoryName": "scrum"
},
{
"id": 4,
"categoryName": "dsa"
},
{
"id": 5,
"categoryName": "coding"
}
]
Get lectureType list
Get - http://localhost:8082/api/**typeList**
[
{
"id": 1,
"type": "Live"
},
{
"id": 2,
"type": "Video"
},
{
"id": 3,
"type": "Reading"
}
]