Ryan Fletcher
|
cfd9ab98c6
|
Implemented StackApiController Get Function.
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:17 +02:00 |
|
Ryan Fletcher
|
dd1d4246fe
|
Finished Error handling across the API
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:17 +02:00 |
|
Ryan Fletcher
|
2668f6b80c
|
committing WIP (improving error validation across the api's)
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:17 +02:00 |
|
Ryan Fletcher
|
a388d199dc
|
Refactored error handling in StackApiController and moved it into ApiHelper.php, this will allow me to use the same checks in all controllers.
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:16 +02:00 |
|
Ryan Fletcher
|
d9f3d492dc
|
Better variable name for stackService in StackApiController
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:16 +02:00 |
|
Ryan Fletcher
|
a14ca3d1f5
|
Better error handling in StackApiController
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:16 +02:00 |
|
Ryan Fletcher
|
5415ec21dc
|
Validation Checking against StackApiController
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:14 +02:00 |
|
Ryan Fletcher
|
3cb496daa2
|
Cleaned up StackApiController to use proper route parameters, removed route parameters from request payloads as per rest standards.
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:14 +02:00 |
|
Ryan Fletcher
|
03e0559afe
|
StackApiController->delete($boardId, $id) added in error handling
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:14 +02:00 |
|
Ryan Fletcher
|
be91ff641c
|
StackApiController added the update put route.
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:14 +02:00 |
|
Ryan Fletcher
|
cec06493c0
|
Error handling for StackApiController->Index()
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:14 +02:00 |
|
Ryan Fletcher
|
8771e35f11
|
Added exception handling to StackApiController->create()
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:13 +02:00 |
|
Ryan Fletcher
|
656e8efa43
|
quick test in StackApiController
Signed-off-by: Ryan Fletcher <ryan.fletcher@codepassion.ca>
|
2018-08-15 21:15:13 +02:00 |
|
Steven R. Baker
|
8ec97032b1
|
Re-format code according to the coding style.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-08-15 21:15:08 +02:00 |
|
Steven R. Baker
|
40f34eb3bc
|
Fix the routing and the stacks API endpoint.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-08-15 21:15:07 +02:00 |
|
Steven R. Baker
|
a4b348488b
|
Add Stack support to API.
Signed-off-by: Julius Härtl <jus@bitgrid.net>
|
2018-08-15 21:15:05 +02:00 |
|