Commit 74445a5e authored by Evan Read's avatar Evan Read

Merge branch 'doc_api_events' into 'master'

Update doc/api/events.md

See merge request gitlab-org/gitlab-ce!32071
parents d6b420ba f8b2d63e
...@@ -70,7 +70,7 @@ Parameters: ...@@ -70,7 +70,7 @@ Parameters:
Example request: Example request:
``` ```bash
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/events?target_type=issue&action=created&after=2017-01-31&before=2017-03-01 curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/events?target_type=issue&action=created&after=2017-01-31&before=2017-03-01
``` ```
...@@ -275,7 +275,7 @@ Parameters: ...@@ -275,7 +275,7 @@ Parameters:
Example request: Example request:
``` ```bash
curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/:project_id/events?target_type=issue&action=created&after=2017-01-31&before=2017-03-01 curl --header "PRIVATE-TOKEN: <your_access_token>" https://gitlab.example.com/api/v4/projects/:project_id/events?target_type=issue&action=created&after=2017-01-31&before=2017-03-01
``` ```
...@@ -343,8 +343,8 @@ Example response: ...@@ -343,8 +343,8 @@ Example response:
"username": "root", "username": "root",
"id": 1, "id": 1,
"state": "active", "state": "active",
"avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png", "avatar_url": "https://gitlab.example.com/uploads/user/avatar/1/fox_avatar.png",
"web_url": "http://localhost:3000/root" "web_url": "https://gitlab.example.com/root"
}, },
"created_at": "2015-12-04T10:33:56.698Z", "created_at": "2015-12-04T10:33:56.698Z",
"system": false, "system": false,
...@@ -357,8 +357,8 @@ Example response: ...@@ -357,8 +357,8 @@ Example response:
"username": "root", "username": "root",
"id": 1, "id": 1,
"state": "active", "state": "active",
"avatar_url": "http://localhost:3000/uploads/user/avatar/1/fox_avatar.png", "avatar_url": "https://gitlab.example.com/uploads/user/avatar/1/fox_avatar.png",
"web_url": "http://localhost:3000/root" "web_url": "https://gitlab.example.com/root"
}, },
"author_username": "root" "author_username": "root"
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment