Separated API logic for staff and services, created error messages, new factory for service_auth, all routes for GET methods defined, tests for getting a patient's info
All GET API service calls completed, testing pending
status tests for the api completed, functioning schema function, put and post methos proved to be working
Separated API logic for staff and services, created error messages, new factory for service_auth, all routes for GET methods defined, tests for getting a patient's info
All GET API service calls completed, testing pending
status tests for the api completed, functioning schema function, put and post methos proved to be working
WIP: API Update studies tests
Service comments and annotations are meow supported by the db
Solved merge conflict
Service commenter shouldn't be Staff but serviceAuth, my bad :/
Do not save empty comments when creating a study
new security scheme for external service, meow we store the service id for security check on update
new security scheme for external service, meow we store the service id for security check on update
meow that the security for services changed, we needed modified model to JSON generators
Some more API tests
Service API meow complete, check wiki for docs
WIP: Testing annotation creation
API create annotations call
minor change to routes
Merge branch 'feature/APIDesign' into chore/staff-controller-tests

Conflicts:
	app/controllers/API.java
	app/lib/json/errors/JSONErrors.java
	app/models/Annotation.java