This README would normally document whatever steps are necessary to get your application up and running.
- Quick summary
- Version
- Learn Markdown
- manju24j@gmail.com - for back end code python and django templates
- harsha.daggron@gmail.com - for front-end and javascript related codes
-
Card/Bookcover
1.To create the Url= /threadcard/api/addbookcover/
json formate: {
"name": "Name of the card", "description": "just give brief about card", "image": upload single image, "created_by": pass the creator user ID, } created by is compulsary, rest all accepts nullable.2.To Edit:
Url= /threadcard/api/editbookcover/(<bookcover ID>/ pk is id of perticular card
- To List all Cards: Url=/threadcard/api/listbookcover/
-
Thread Cards
-
to crate a ThreadCard i.e posting all thread data at once to create card for the first time
Url= /threadcard/api/createthread/
json formate: [{"name":"CP-1","message":"ondu","bookcoverowner":4,"bookcover":19}, {"name":"CP-2","message":"eradu","bookcoverowner":4,"bookcover":19}, {"name":"CP-4","message":"test12344","bookcoverowner":4,"bookcover":19}, {"name":"CP-5","message":"yesfe","bookcoverowner":4,"bookcover":19}]
name is optinal remaining is compulsary, message is content/comment of thread . bookowner is creator User-ID. and bookcover is Main thread ID.
-
to create a single card, which helps in adding the new card after creating the Thread:
Url= /threadcard/api/addthread/
json formate: { "name": "optional", "message": "Comment message here", "bookcoverowner": Creator ID, "bookcover": Bookcover/Card ID }
-
To list All the Threads Wrt Card/Bookcover url= /threadcard/api/listthread/()/
-
to Edit Indivisual Thread
url= /threadcard/api/editthread/(<threadcard ID >)/
-
-
Subcomments:
-
Adding sub comment: url = /threadcard/api/addsubcomment/ { "comment": "", "thread": 1, "created_by": 2 }
-
edit : url = /threadcard/api/editsubcomment/()/
- List adll subcomments of thread .
Url= /threadcard/api/listsubcomment/()/
-