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
2013-02-12 19:22:40 +02:00
2013-02-13 10:31:06 +01:00
2013-02-11 19:16:59 +02:00
2011-10-09 00:36:38 +03:00
2012-01-08 13:20:20 +02:00
2013-02-09 15:26:47 +02:00
2011-10-09 00:36:38 +03:00
2013-01-07 22:23:13 +02:00
2013-01-09 14:43:49 -05:00
2013-02-11 19:16:59 +02:00
2012-12-20 18:53:23 +01:00
2013-02-11 23:17:34 +02:00
2013-02-11 23:17:34 +02:00
2012-09-21 13:22:30 +03:00
2011-10-09 00:36:38 +03:00
2011-10-09 00:36:38 +03:00
2013-01-29 14:49:10 +02:00
2013-02-05 09:01:29 +02:00
2013-02-07 13:05:30 +02:00

Welcome to GitLab build status build status Code Climate Dependency Status

GitLab is a free project and repository management application

CI

Application details

  • based on Ruby on Rails
  • distributed under the MIT License
  • works with gitolite

Requirements

  • Ubuntu/Debian
  • ruby 1.9.3+
  • MySQL
  • git
  • gitolite
  • redis

Install

Checkout wiki pages for installation information, migration, etc.

Community

Google Group

Contacts

Twitter:

  • @gitlabhq
  • @dzaporozhets

Email

Contribute

Developer Guide Want to help - send a pull request. We'll accept good pull requests.

S
Description
No description provided
Readme MIT
170 MiB
Languages
Ruby 75.2%
Haml 10.4%
CoffeeScript 6.1%
SCSS 4.7%
Gherkin 2.4%
Other 1.2%