Commit graph

20 commits

Author SHA1 Message Date
Alex Tselegidis
0a8e70f2ec Updated appointments API resource controller with the newest helper methods. 2016-07-10 13:00:42 +02:00
Alex Tselegidis
c39c7c3df2 Implemented customers API resource controller. 2016-07-10 13:00:07 +02:00
Alex Tselegidis
ba4aa48e47 Added new method for returning common 404 exceptions. 2016-07-10 12:59:04 +02:00
Alex Tselegidis
eed53d44cd Changed the 'singleEntry' response method in order to avoid writing the ID condition in every API controller. 2016-07-10 11:38:22 +02:00
Alex Tselegidis
ff558f99c4 Added new Request class for handling the common request operations. 2016-07-10 11:12:16 +02:00
Alex Tselegidis
bfc96409bc Implemented the DELETE method and corrected not-found exceptions for GET and PUT. 2016-07-09 22:07:26 +02:00
Alex Tselegidis
4c1ec9ea2f Implemented the PUT method of appointments resource. 2016-07-09 22:01:03 +02:00
Alex Tselegidis
a40bb1ae4c Implemented the POST method of the appointments resource. 2016-07-09 21:53:28 +02:00
Alex Tselegidis
de4bc1217a Added API method for getting a single appointment. 2016-07-09 21:11:33 +02:00
Alex Tselegidis
02ac330b3b Corrected exception handling, the app must stop the execution and through the exception response. 2016-07-09 13:19:07 +02:00
Alex Tselegidis
523f4a3e76 Moved the response operations into their own namespace 'Processors' and bundled up the appointments GET request. 2016-07-09 13:14:08 +02:00
Alex Tselegidis
512d56b7ea Corrected API authorization procedure. 2016-07-09 12:24:52 +02:00
Alex Tselegidis
57f5f70448 The API_V1_Controller will request authentication. 2016-07-09 11:17:39 +02:00
Alex Tselegidis
73c8728182 Added unavailabilities resource to the app. 2016-07-09 07:47:01 +02:00
Alex Tselegidis
d31535627b Updated docblock namespace. 2016-07-08 21:26:52 +02:00
Alex Tselegidis
f669f86294 Added initial controller files for all API resources. 2016-07-08 21:23:03 +02:00
Alex Tselegidis
cf0cbaf75c Added template content for API resource controllers. 2016-07-08 21:17:06 +02:00
Alex Tselegidis
ac7d877411 Created parent API controller class. 2016-07-08 21:14:38 +02:00
Alex Tselegidis
550cee6765 Added v1 for first version controllers. 2016-07-07 22:05:10 +02:00
Alex Tselegidis
52f592c027 Created new controllers directory for the API. 2016-07-06 22:12:21 +02:00