Retrieve time tracking stats for a merge request
GET
/api/v4/projects/{id}/merge_requests/{merge_request_iid}/time_stats
Retrieves time tracking stats for a specified merge request, including time estimate and time spent in seconds and human-readable format (for example, 1h 30m).
Authorizations
Section titled “ Authorizations ”Parameters
Section titled “ Parameters ”Path Parameters
Section titled “ Path Parameters ”Responses
Section titled “ Responses ”OK
Media type application/json
object
time_estimate
integer
total_time_spent
integer
human_time_estimate
string
human_total_time_spent
string
Example
{ "time_estimate": 12600, "total_time_spent": 3600, "human_time_estimate": "3h 30m", "human_total_time_spent": "1h"}Bad Request
Unauthorized
Not found