Get events for a single project
GET
/v3/projects/{id}/eventsGet events for a single project
请求参数
Path 参数
id
string
必需
The ID of a project
Query 参数
page
integer <int32>
可选
Current page number
per_page
integer <int32>
可选
Number of items per page
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
Get events for a single project
数据结构
This feature was introduced in GitLab 8.13.
title
string
可选
project_id
string
可选
action_name
string
可选
target_id
string
可选
target_type
string
可选
author_id
string
可选
data
string
可选
target_title
string
可选
created_at
string
可选
note
object (Note)
可选
Delete a +noteable+ note
id
string
可选
body
string
可选
attachment
string
可选
author
object (UserBasic)
可选
Get a single user
created_at
string
可选
updated_at
string
可选
system
string
可选
noteable_id
string
可选
noteable_type
string
可选
upvote?
string
可选
downvote?
string
可选
author
object (UserBasic)
可选
Get a single user
author_username
string
可选
示例
{
"title": "string",
"project_id": "string",
"action_name": "string",
"target_id": "string",
"target_type": "string",
"author_id": "string",
"data": "string",
"target_title": "string",
"created_at": "string",
"note": {
"id": "string",
"body": "string",
"attachment": "string",
"author": {
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string"
},
"created_at": "string",
"updated_at": "string",
"system": "string",
"noteable_id": "string",
"noteable_type": "string",
"upvote?": "string",
"downvote?": "string"
},
"author": {
"name": "string",
"username": "string",
"id": "string",
"state": "string",
"avatar_url": "string",
"web_url": "string"
},
"author_username": "string"
}
最后修改时间: 1 个月前