Skip to content
Adam Hartz edited this page Oct 27, 2015 · 3 revisions

Welcome to the gui wiki!

##api location

https://rocky-falls-8228.herokuapp.com/api/activities/

Shared expectations for api JSON naming

Users

  • username
  • password

Activity

  • user = models.ForeignKey(User) (not needed in form; comes with logged in http request)
  • full_description
  • units

Datapoint

  • user = models.ForeignKey(User)
  • activity = models.ForeignKey(Activity)
  • reps
  • date (note that this is changed from timestamp because we are recording events by date only)

Clone this wiki locally