-
Notifications
You must be signed in to change notification settings - Fork 0
Endpoints
Link: /users/create/
Method: POST
JSON contains: username, first_name, last_name, password, days(initialize with "[]")
Link: /api-token-auth/
Method: POST
JSON contains: username, password
Link: /api-token-refresh/
Method: POST
JSON contains: token
Authorization: JWT <your_token>
Link: getuser/
Method:GET
JSON contains: nothing
Link: users/id
Method: GET
JSON contains: nothing
Link: day/create
Method: POST
JSON contains: coefficient, good_standing_time, bad_standing_time, total_time, done_training
Link: day/create
Method: GET
JSON contains: nothing
Link: day/id
Method: GET
JSON contains: nothing
Link: exercise/create
Method: POST
JSON contains: owner, time
Link: execise/id
Method: GET
JSON contains: nothing
Link: state/create
Method: POST
JSON contains: exercise_id, sensor_input_one, sensor_input_two