SynaptitudeBrainHealth / synap-epics

For ZenHub this serves as the default repository containing all issues. This is the "default repository".
1 stars 0 forks source link

API | Standardize View Definitions #37

Closed russellwjoel closed 4 years ago

russellwjoel commented 5 years ago

Endpoints:

URLS

Pluralise Resources to be standard across all urls.


Response Bodies

- questionnaire questions:
- questionnaire answers:

error body.


Method views:


Base View:

russellwjoel commented 5 years ago
russellwjoel commented 5 years ago

Decide on a success response:

{ "success": "true"} . ?

russellwjoel commented 5 years ago

user endpoint can remove the username parameter as instead all of the data for a user is taken from the token,

russellwjoel commented 5 years ago

add is_active check to all user action endpoints.

russellwjoel commented 5 years ago

add logging on all endpoints

russellwjoel commented 5 years ago

cognifit view .. ErrorMessage =. User has not recorded enough Cognifit Skill Results . -> . NO Cognifit Results

russellwjoel commented 5 years ago

remove auto genrate of json for all questionnaires.

russellwjoel commented 5 years ago

change user/profile . resource to somehting else? - fitbitprofile?

russellwjoel commented 5 years ago

'/user/consent/', methods=['POST']) . should be different.

PUT request not post

resource /user/consent