Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWarren Parad <wparad@gmail.com>2018-07-15 16:00:48 +0300
committerWarren Parad <wparad@gmail.com>2018-08-16 20:52:52 +0300
commit8aed9f08fc681d5653c2bc4b688950caf525579b (patch)
treea83a8fd2c40b194fa400e40ff1529c48ce76b879 /doc/api/events.md
parent6f21652f0b79a614ad809dc028aaa28aee16732e (diff)
Add authenticate to events api. fix #49255
Diffstat (limited to 'doc/api/events.md')
-rw-r--r--doc/api/events.md12
1 files changed, 8 insertions, 4 deletions
diff --git a/doc/api/events.md b/doc/api/events.md
index f4d26c4de1c..fee0b38542a 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