Skip to content

Instantly share code, notes, and snippets.

@joshuaadickerson
Last active August 29, 2015 14:05
Show Gist options
  • Save joshuaadickerson/23c4bf9d5b6ce83a3db2 to your computer and use it in GitHub Desktop.
Save joshuaadickerson/23c4bf9d5b6ce83a3db2 to your computer and use it in GitHub Desktop.
Trying to figure out the routes
/users (get/post) # lists the users / adds a new user
/login (get/post)
/logout (get/post)
/{id} (get/patch/delete) # show the profile, update the user, delete the user
/activity (get) # show the activity for a user
/notifications (get) # gets the notifications for this user
/topics (get/post) # list all of the recent topics, add a new topic
/{id} (get/patch/delete) # show a topic / update a topic / delete a topic
/resources (get) # get the resources (attachments) associated with the topic
/like (get/post/delete) # get the likes for the topic, add a like, delete a like
/new (get)
/unread (get)
/replies (get)
/posts (get/post)
/{id} (get/patch/delete)
/new (get)
/unread (get)
/resources (get/post/patch/delete)
/like (get/post/delete)
/boards (get/post)
/{id} (get/patch/delete)
/resources (get)
/{id} (get/patch/delete)
/admin
/search
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment