Skip to content

upadhyay-vishnu/Interview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interview

URLSerivces:-

Save a URL with Tags

Create New URL with Tags and save both Tags and URL

Get URL

Fetch all the Tags attached to the URL

  • Request:- GET
  • class :- Url_Detail_Update
  • URL:- http://127.0.0.1/interview/bookmarks/(id)
  • Request:- id = some id(1)
  • Content Type :- application/json Response:- { "Url": "http://facebook.com", "tags": [ "facebook", "vis", "dron", "kai", "bk", "parlay", "fbvish", "captain" ] } status:- HTTP_200_OK Response Type:- Json

Edit URL

Delete URL.

Tag Services

Save Tag

Create New Tag and save it.

  • Request:- post
  • class :- Create_Tag
  • URL:- http://127.0.0.1/interview/tags/new/
  • Request Data:- { "tag": "any tag" }
  • Content Type :- application/json Response:- { "message": "Tag was successfully created" "Name": "ljxnvkjdhnigkhdvnkada" } status:- HTTP_201_CREATED Response Type:- Json

Get Tag

Fetch all attached URL with corresponding tag.

Rename the Tag

Rename the Tag

Delete Tag

Delete Tag and free URL attach with Tag.

About

Interview On Python DjangoRest

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Languages