818caf0b5d
When a user is added to a project that is already a member of, a status code 201 is now returned to signal an idempotent operation. If something fails then instead of returning error code 404 different more specific error codes are returned. Status code 400 (Bad request) is returned when a required attribute, e.g. `access_level` is not given or 422 if there is a semantic error, e.g. should the `access_level` have an unsupported value. Specs are added to check these status codes. |
||
---|---|---|
.. | ||
admin | ||
api | ||
atom | ||
security | ||
gitlab_flavored_markdown_spec.rb | ||
issues_spec.rb | ||
notes_on_merge_requests_spec.rb | ||
notes_on_wall_spec.rb | ||
projects_deploy_keys_spec.rb | ||
projects_spec.rb | ||
search_spec.rb | ||
snippets_spec.rb |