gitlab-org--gitlab-foss/lib/api
Sebastian Ziebell fd01f3aacd API: fixes a few return codes for project snippets
When using project snippets via API the functions now provide status codes for
different situations other then only returning 404 error. If required parameters are missing,
e.g. `title` when creating a project snippet a 400 (Bad request) error is returned. The snippet
delete function now is idempotent and returns a 200 (Ok) regardless if the snippet with the
given id is available or not. Changing return codes of these functions has the advantage that
the 404 error is used only for resources, which are not available.

Tests added to check these status codes when handling project snippets.
2013-02-13 12:09:16 +01:00
..
entities.rb Code deduplication using inheritance for GroupDetail 2013-02-03 19:38:33 +01:00
groups.rb Fix groups api: differ between users and admin 2013-02-01 15:00:12 +01:00
helpers.rb Fix namespace api autocomplete 2012-12-12 12:54:28 +02:00
internal.rb deploy keys support for gitlab-shell api 2013-02-07 09:56:13 +02:00
issues.rb Fixed missing current user for issue observer 2013-01-02 20:25:25 +02:00
merge_requests.rb Creating MR comment without a note returns status code 400 (Bad request) 2013-02-06 17:02:30 +01:00
milestones.rb Status code 400 returned if title not given in a milestone (via API) 2013-02-06 17:10:29 +01:00
notes.rb Merge branch 'master' into fixes/api 2013-02-08 10:32:42 +01:00
projects.rb API: fixes a few return codes for project snippets 2013-02-13 12:09:16 +01:00
session.rb API: return 401 for invalid session 2012-09-20 08:38:08 -07:00
users.rb Extended users API to support updating and deleting users. 2012-12-18 21:24:31 +02:00