package github

  1. Overview
  2. Docs
GitHub APIv3 OCaml library

Install

Dune Dependency

Authors

Maintainers

Sources

github-unix-4.3.2.tbz
sha256=b6304dce6ec33503e225ade600af194e1fc3976624ea83f546c7ab27ec8cfeb7
sha512=754f0a2bce5a2cb3b2355530708e3dab1d8a32401fa2a300b5eba37bf37e63d75d21d42595e7cd60b9a20beba054dd3b45675d51201a4aa8812ce5db400ab758

doc/github/Github_core/Make/Label/index.html

Module Make.LabelSource

The Label module exposes Github's labels API.

Sourceval for_repo : ?token:Token.t -> user:string -> repo:string -> unit -> Github_t.label Stream.t

for_repo ~user ~repo () is a stream of all labels in repo user/repo.

Sourceval get : ?token:Token.t -> user:string -> repo:string -> name:string -> unit -> Github_t.label Response.t Monad.t

get ~user ~repo ~name () is the label name in the repo user/repo.

Sourceval create : ?token:Token.t -> user:string -> repo:string -> label:Github_t.new_label -> unit -> Github_t.label Response.t Monad.t

create ~user ~repo ~label () is the newly created label label in the repo user/repo.

Sourceval update : ?token:Token.t -> user:string -> repo:string -> name:string -> label:Github_t.new_label -> unit -> Github_t.label Response.t Monad.t

update ~user ~repo ~name () is the newly updated label name with properties label in the repo user/repo.

Sourceval delete : ?token:Token.t -> user:string -> repo:string -> name:string -> unit -> unit Response.t Monad.t

delete ~user ~repo ~name () activates after the label name in the repo user/repo has been removed.

OCaml

Innovation. Community. Security.