gitlab-org--gitlab-foss/lib/api
Douwe Maan fe7992a524 Merge branch 'events-paginate' into 'master'
API: Events paginate

Updated the api method for /project/:id/events, to use the paginate method instead of limiting and offsetting the recent events in the method itself.

This will also change the first page to be 1 instead of 0, but using 0 will still work and will give back the first page.
This also add's the link headers (next/first/last).

See merge request !267
2015-03-30 19:01:03 +00:00
..
api.rb
api_guard.rb
branches.rb
commits.rb
deploy_keys.rb
entities.rb
files.rb
group_members.rb
groups.rb
helpers.rb
internal.rb
issues.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
system_hooks.rb
users.rb