summaryrefslogtreecommitdiff
path: root/doc/api/events.md
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2020-02-27 09:09:01 +0000
committerGitLab Bot <gitlab-bot@gitlab.com>2020-02-27 09:09:01 +0000
commitc72e5ebe9938d315ec598197873e71a80168d40a (patch)
tree439bf5c40aaf774e5a301825af517cb52726f450 /doc/api/events.md
parentffc43b862df32a590eae874bcbb11109b46dc8be (diff)
downloadgitlab-ce-c72e5ebe9938d315ec598197873e71a80168d40a.tar.gz
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'doc/api/events.md')
-rw-r--r--doc/api/events.md8
1 files changed, 4 insertions, 4 deletions
diff --git a/doc/api/events.md b/doc/api/events.md
index f3963bcf970..431e96b2804 100644
--- a/doc/api/events.md
+++ b/doc/api/events.md
@@ -38,7 +38,7 @@ Note that these options are downcased.
Dates for the `before` and `after` parameters should be supplied in the following format:
-```
+```plaintext
YYYY-MM-DD
```
@@ -54,7 +54,7 @@ GitLab removes events older than 2 years from the events table for performance r
Get a list of events for the authenticated user. Scope `read_user` or `api` is required.
-```
+```plaintext
GET /events
```
@@ -128,7 +128,7 @@ Example response:
Get the contribution events for the specified user, sorted from newest to oldest. Scope `read_user` or `api` is required.
-```
+```plaintext
GET /users/:id/events
```
@@ -259,7 +259,7 @@ Example response:
Get a list of visible events for a particular project.
-```
+```plaintext
GET /projects/:project_id/events
```