diff options
| author | Robert Speicher <robert@gitlab.com> | 2016-10-12 11:33:19 +0000 |
|---|---|---|
| committer | Robert Speicher <robert@gitlab.com> | 2016-10-12 11:33:19 +0000 |
| commit | 7c07c07d7a2b93ab81964b9cd28736652da1370a (patch) | |
| tree | 41734446a104fa184195e7b71601a762a22adbb9 /doc/api/projects.md | |
| parent | c004bb3e74b6a60a4b6ede93d0ea8a898e56c41b (diff) | |
| parent | c7865786572a3a2e12ed67a3f8121c0be8c4ba38 (diff) | |
| download | gitlab-ce-7c07c07d7a2b93ab81964b9cd28736652da1370a.tar.gz | |
Merge branch 'user-events-api' into 'master'
API: New /users/:id/events endpoint
## What does this MR do?
If add a new `/users/:id/events` endpoint to retrieve a user's contribution events. The events returned are filtered so that only the events for projects that the current user can see are returned (similarly to what we do at the controller level).
## Why was this MR needed?
Because it's a nice feature to calculate leaderboards, for instance for #17815.
## What are the relevant issue numbers?
Closes #20866.
See merge request !6771
Diffstat (limited to 'doc/api/projects.md')
| -rw-r--r-- | doc/api/projects.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/api/projects.md b/doc/api/projects.md index 27436a052da..f96bf7f6d63 100644 --- a/doc/api/projects.md +++ b/doc/api/projects.md @@ -436,7 +436,7 @@ Parameters: ### Get project events Get the events for the specified project. -Sorted from newest to latest +Sorted from newest to oldest ``` GET /projects/:id/events |
