Project.Milestone
Milestone
operates on a Project
's milestones. There is a separate Group Milestone
module.
val milestones :
?token:Token.t ->
project_id:int ->
?state:Gitlab_t.milestone_state ->
?title:string ->
?search:string ->
unit ->
Gitlab_t.milestones Response.t Monad.t
milestones ~project_id
returns a list of project milestones.
val milestone :
?token:Token.t ->
project_id:int ->
milestone_id:int ->
unit ->
Gitlab_t.milestone Response.t Monad.t
milestone ~project_id ~milestone_id
get a single project milestone.
val create :
token:Token.t ->
project_id:int ->
Gitlab_t.new_milestone ->
unit ->
Gitlab_t.milestone Response.t Monad.t
create ~project_id ~title
create a project milestone.
val update :
token:Token.t ->
project_id:int ->
milestone_id:int ->
?title:string ->
?description:string ->
?due_date:string ->
?start_date:string ->
?state_event:Gitlab_t.milestone_state ->
unit ->
Gitlab_t.milestone Response.t Monad.t
update ~project_id ~milestone_id
update an existing milestone.
See Edit a milestone.
val delete :
token:Token.t ->
project_id:int ->
milestone_id:int ->
unit ->
unit Response.t Monad.t
delete ~project_id ~milestone_id
delete a project milestone.
See Delete a milestone.