16 Oct, 2013
1 commit
14 May, 2013
1 commit
19 Mar, 2013
1 commit
27 Feb, 2013
2 commits
-
Now the correct attribute is checked if it's available or not. Also fixed a test.
-
Added a helper method to check if required parameters are given in an API call. Can be used to return a `400 Bad Request` return code if a required attribute is missing. Code clean up and fixed tests.
20 Feb, 2013
1 commit
-
The notes API documentation updated with return codes. API now returns `400 Bad Request` if required attributes are not present. Return codes are documented now, also tested in added tests. The documentation now reflects the current state of the API.
13 Feb, 2013
1 commit
-
Extracted a method for 400 error (Bad request) and adjusted code accordingly. The name of the missing attribute is used to show which one was missing from the request. It is used to give an appropriate message in the json response.
08 Feb, 2013
1 commit
06 Feb, 2013
1 commit
-
If a note is created with a POST request via API (`/projects/:id/notes`) status code 400 is returned instead of 404. The resource itself exists but the request is incomplete. Specs added to check different status codes when accessing, creating and updating notes.
29 Jan, 2013
1 commit
04 Jan, 2013
1 commit
21 Dec, 2012
1 commit
01 Dec, 2012
1 commit
29 Nov, 2012
5 commits