Skip to content

WDI-HK-7/rails-instagram

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Instagram Clone with Rails and Angular

API Documentation

Method Path Description
GET /photos List all photos
GET /users/{username}/photos List all photos of a specific user
GET /photos/{id} Retrieve a tweet
POST /photos Create a new tweet (require user authentication)
DELETE /photos/{id} Delete a Tweet (require user authentication)
Method Path Description
GET /users List all users
GET /users/{username} Retrieve a user
POST /users Create a new user
POST /users/sign_in Create a new user
Method Path Description
POST /sessions Create a new session
GET /authenticated Check if you are authenticated
DELETE /sessions Delete a Session (Logout)