Skip to content

Retrieve an epic label event

GET
/api/v4/groups/{id}/epics/{eventable_id}/resource_label_events/{event_id}

Retrieves a label event for a specified group epic.

id
required
string

The ID of a group

event_id
required
string

The ID of a resource label event

eventable_id
required
One of:
integer

The ID of the epic

OK

Media type application/json
object
id
integer format: int64
user
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
created_at
string format: date-time
resource_type
string
resource_id
integer format: int64
label
object
id
integer format: int64
name
string
description
string
text_color
string
description_html
string
color
string
archived
boolean
action
string
Example
{
"id": 142,
"user": {
"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"
},
"created_at": "2018-08-20T13:38:20.077Z",
"resource_type": "Issue",
"resource_id": 253,
"label": {
"id": 1,
"name": "bug",
"description": "Bug reported by user",
"text_color": "#FFFFFF",
"description_html": "<p>Bug reported by user</p>",
"color": "#FF0000",
"archived": false
},
"action": "add"
}

Bad Request

Not Found