Skip to content

Backend Routes

passsionforprogramming edited this page Dec 15, 2019 · 1 revision

HTML

  • GET / StaticPagesController#root

API EndPoints

Users

  • GET api/users- returns user information
  • POST api/users- creates new user for Sign Up.
  • DELETE api/users - deletes user
  • PUT api/users- updates user information

Session

  • POST api/session- Log In
  • DELETE api/session- Log Out

Events

  • GET api/events- returns event information of all events or single event.
  • POST api/events- creates new event.
  • DELETE api/events - deletes event.
  • PUT api/events- updates event.

Tickets

  • GET api/tickets- returns ticket information of all tickets or single ticket.
  • POST api/events- creates new ticket.
  • DELETE api/events - deletes ticket.
  • PUT api/events- updates ticket.

Collection

  • GET api/collections- returns collection information
  • POST api/collections- creates new collection.
  • DELETE api/collections - deletes collection.
  • PUT api/collections- updates collection.

Interests

  • GET api/interests- returns interest information
  • POST api/interests- creates interest.
  • DELETE api/interests - deletes interest.
  • PUT api/interests- updates interests.

Locations

  • GET api/locations- returns location information
  • POST api/locations- creates location.
  • DELETE api/locations - deletes location.
  • PUT api/locations- updates location.

Tags

  • GET api/tags- returns tag information
  • POST api/tags- creates tag.
  • DELETE api/tags - deletes tag.
  • PUT api/tags- updates tags.

Tags

  • GET api/tags- returns tag information
  • POST api/tags- creates tag.
  • DELETE api/tags - deletes tag.
  • PUT api/tags- updates tags.

Videos

  • GET api/videos- returns video information
  • POST api/videos- creates video.
  • DELETE api/videos - deletes video.
  • PUT api/videos- updates video.

Images

  • GET api/images- returns image information
  • POST api/images- creates image.
  • DELETE api/images - deletes image.
  • PUT api/images- updates image.

Campaigns

  • GET api/campaigns- returns campaign information
  • POST api/campaigns- creates campaign.
  • DELETE api/campaigns - deletes campaign.
  • PUT api/campaigns- updates campaign.

Followers

  • GET api/follwers- returns follower information
  • POST api/followers- creates follower.
  • DELETE api/followers - deletes follower.
  • PUT api/followers- updates follower.

Clone this wiki locally