• Ruben Davila's avatar
    Add some API endpoints for time tracking. · 0f3c9355
    Ruben Davila authored
    New endpoints are:
    
    POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_estimate"
    
    POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_time_estimate"
    
    POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/add_spent_time"
    
    POST :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/reset_spent_time"
    
    GET  :project_id/(issues|merge_requests)/(:issue_id|:merge_request_id)/time_stats"
    0f3c9355
time_tracking_endpoints.rb 3.78 KB