List code review information about project
GET
/api/v4/analytics/code_review
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Query Parameters
Section titled “ Query Parameters ” project_id
required
integer
Project ID
label_name
Array<string>
Array of label names to filter by
Example
?label_name=feature,bug milestone_title
string
Milestone title to filter by
Example
1.6 page
integer
Current page number
Example
1 per_page
integer
Number of items per page
Example
20 not
Filters by the specified parameters
object
not[label_name]
Array<string>
Array of label names to filter by
Example
[ "feature", "bug"] not[milestone_title]
string
Milestone title to filter by
Example
1.6Responses
Section titled “ Responses ”OK
Media type application/json
object
id
integer format: int64
iid
integer
project_id
integer format: int64
title
string
description
string
state
string
created_at
string format: date-time
updated_at
string format: date-time
web_url
string
milestone
object
id
integer format: int64
iid
integer format: int64
project_id
integer format: int64
group_id
string
title
string
description
string
state
string
created_at
string
updated_at
string
due_date
string
start_date
string
expired
boolean
web_url
string
author
object
id
integer format: int64
username
string
public_email
string
name
string
state
string
locked
boolean
avatar_url
string
avatar_path
string
custom_attributes
Array<object>
object
key
string
value
string
web_url
string
approved_by
object
id
integer format: int64
username
string
public_email
string
name
string
state
string
locked
boolean
avatar_url
string
avatar_path
string
custom_attributes
Array<object>
object
key
string
value
string
web_url
string
notes_count
integer
review_time
Review time in hours
integer
diff_stats
string
Example
{ "id": 84, "iid": 14, "project_id": 4, "title": "Test MR 1580978354", "description": "Repellendus impedit et vel velit dignissimos.", "state": "closed", "created_at": "2022-08-17T12:46:35.053Z", "updated_at": "2022-11-14T17:22:01.470Z", "web_url": "http://local.gitlab.test:8181/root/merge-train-race-condition/-/merge_requests/59", "author": { "id": 1, "username": "admin", "public_email": "john@example.com", "name": "Administrator", "state": "active", "avatar_url": "https://gravatar.com/avatar/1", "avatar_path": "/user/avatar/28/The-Big-Lebowski-400-400.png", "custom_attributes": [ { "key": "foo", "value": "bar" } ], "web_url": "https://gitlab.example.com/root" }, "approved_by": { "id": 1, "username": "admin", "public_email": "john@example.com", "name": "Administrator", "state": "active", "avatar_url": "https://gravatar.com/avatar/1", "avatar_path": "/user/avatar/28/The-Big-Lebowski-400-400.png", "custom_attributes": [ { "key": "foo", "value": "bar" } ], "web_url": "https://gitlab.example.com/root" }, "notes_count": 10, "review_time": 6}Bad Request