Tentacat v1.6.0 Tentacat.Issues.Labels View Source
Link to this section Summary
Link to this section Functions
Link to this function
add(client \\ %Client{}, owner, repo, issue_id, labels)
View Source
add(client \\ %Client{}, owner, repo, issue_id, labels)
View Source
add(Tentacat.Client.t(), binary(), binary(), binary() | integer(), [binary()]) ::
Tentacat.response()
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(client \\ %Client{}, owner, repo, issue_id)
View Source
list(Tentacat.Client.t(), binary(), binary(), binary() | integer()) ::
Tentacat.response()
list(Tentacat.Client.t(), binary(), binary(), binary() | integer()) :: Tentacat.response()
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
remove(client \\ %Client{}, owner, repo, issue_id, label)
View Source
remove(Tentacat.Client.t(), binary(), binary(), binary() | integer(), binary()) ::
Tentacat.response()
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