View Source Tentacat.Issues.Labels (Tentacat v2.4.0)

Summary

Functions

Link to this function

add(client \\ %Client{}, owner, repo, issue_id, labels)

View Source
@spec add(Tentacat.Client.t(), binary(), binary(), binary() | integer(), [binary()]) ::
  Tentacat.response()

Add labels to an issue.

Example

Tentacat.Issues.Labels.list "elixir-lang", "elixir", 3970

More info at: https://developer.github.com/v3/issues/labels/#add-labels-to-an-issue

Link to this function

list(client \\ %Client{}, owner, repo, issue_id)

View Source

List labels on an issue.

Example

Tentacat.Issues.Labels.list "elixir-lang", "elixir", 3970

More info at: https://developer.github.com/v3/issues/labels/#list-labels-on-an-issue

Link to this function

remove(client \\ %Client{}, owner, repo, issue_id, label)

View Source
@spec remove(Tentacat.Client.t(), binary(), binary(), binary() | integer(), binary()) ::
  Tentacat.response()

Remove a label from an issue.

Example

Tentacat.Issues.Labels.remove "elixir-lang", "elixir", 3970, "Important"

More info at: https://developer.github.com/v3/issues/labels/#remove-a-label-from-an-issue