Skip to content
Camden Fullmer edited this page Sep 23, 2013 · 4 revisions

##Users

  • GET /users will return all users.
[
  {
    "id": 1,
    "name": "Joe Smith",
    "studyIds" :
      [
        1
      ]
  }
]

##Studies

  • GET /studies will return all studies.
[
  {
    "id": 1,
    "name": "Joe Smith",
    "created" : "24:00:00-1459"
  }
]

##Questions

  • GET /questions will return all questions.
[
  {
    "id": 1,
    "type": 1,
    "text": "Sample question to be asked."
  }
]

##Answers

  • GET /answers will return all answers.
[
  {
    "id": 1,
    "text": "Answer to the question.",
    "question": 1
  }
]
Clone this wiki locally