gitlab-org--gitlab-foss/lib/api
Robert Speicher b166ee6b1d Merge branch 'fix-award-emoji-api' into 'master'
Add upvote/downvote fields to merge request and note API to preserve compatibility

As discussed in !1825 we should not break the API compatibility.

* This MR adds the fields `upvotes`/`downvotes` to the merge request API again, which always return `0`.
* Add the fields `upvote`/`downvote` to the notes API, which always return `false`

This behavior is documented in the API docs.

See merge request !1867
2015-11-22 03:45:15 +00:00
..
api.rb
api_guard.rb
branches.rb
commit_statuses.rb
commits.rb
deploy_keys.rb
entities.rb Merge branch 'fix-award-emoji-api' into 'master' 2015-11-22 03:45:15 +00:00
files.rb
group_members.rb
groups.rb
helpers.rb
internal.rb
issues.rb
keys.rb
labels.rb
merge_requests.rb
milestones.rb
namespaces.rb
notes.rb
project_hooks.rb
project_members.rb
project_snippets.rb
projects.rb
repositories.rb
services.rb
session.rb
settings.rb
system_hooks.rb
tags.rb
users.rb