Module Group.Milestone

Milestone operates on a Group's milestones.

val milestones : ?token:Token.t -> group_id:int -> ?state:Gitlab_t.milestone_state -> ?title:string -> ?search:string -> unit -> Gitlab_t.milestones Response.t Monad.t

milestones ~group_id returns a list of group milestones.

See List group milestones.

val milestone : ?token:Token.t -> group_id:int -> milestone_id:int -> unit -> Gitlab_t.milestone Response.t Monad.t

milestone ~group_id ~milestone_id get a single group milestone.

See Get a single milestone.

val create : token:Token.t -> group_id:int -> Gitlab_t.new_milestone -> unit -> Gitlab_t.milestone Response.t Monad.t

create ~group_id ~title create a group milestone.

See Create a new milestone.

val update : token:Token.t -> group_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 ~group_id ~milestone_id update an existing milestone.

See Edit a milestone.

val delete : token:Token.t -> group_id:int -> milestone_id:int -> unit -> unit Response.t Monad.t

delete ~group_id ~milestone_id delete a group milestone.

See Delete a milestone.