diff options
author | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-08-21 07:27:10 +0000 |
---|---|---|
committer | Grzegorz Bizon <grzegorz@gitlab.com> | 2018-08-21 07:27:10 +0000 |
commit | edf7d1d4c785618ea021d5fe9782c1e2cea11d9b (patch) | |
tree | 8592b0124499bb748e7b0f5f38579c824edfc050 /doc/api/events.md | |
parent | b755753c0c7c5ea3e803e4479ae14ef373d75067 (diff) | |
parent | 8aed9f08fc681d5653c2bc4b688950caf525579b (diff) | |
download | gitlab-ce-edf7d1d4c785618ea021d5fe9782c1e2cea11d9b.tar.gz |
Merge branch 'fix_events_permission_#49255' into 'master'
Add authenticate to events api. fix #49255
Closes #49255
See merge request gitlab-org/gitlab-ce!20627
Diffstat (limited to 'doc/api/events.md')
-rw-r--r-- | doc/api/events.md | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/api/events.md b/doc/api/events.md index 1b6c4d437dd..fb5ebb71a86 100644 --- a/doc/api/events.md +++ b/doc/api/events.md @@ -48,9 +48,11 @@ GitLab removes events older than 1 year from the events table for performance re ## List currently authenticated user's events ->**Note:** This endpoint was introduced in GitLab 9.3. +>**Notes:** +> This endpoint was introduced in GitLab 9.3. +> `read_user` access was introduced in GitLab 11.3. -Get a list of events for the authenticated user. +Get a list of events for the authenticated user. Scope `read_user` or `api` is required. ``` GET /events @@ -119,9 +121,11 @@ Example response: ### Get user contribution events ->**Note:** Documentation was formerly located in the [Users API pages][users-api]. +>**Notes:** +> Documentation was formerly located in the [Users API pages][users-api]. +> `read_user` access was introduced in GitLab 11.3. -Get the contribution events for the specified user, sorted from newest to oldest. +Get the contribution events for the specified user, sorted from newest to oldest. Scope `read_user` or `api` is required. ``` GET /users/:id/events |