View Source Tentacat.Repositories.Projects (Tentacat v2.5.0)

Summary

Functions

Create a new project for a repository.

Lists the projects in a repository.

Functions

Link to this function

create(client, owner, repo, options)

View Source
@spec create(Tentacat.Client.t(), binary(), binary(), map()) :: Tentacat.response()

Create a new project for a repository.

Possible values for options:

  • %{name: "name of project board"}
  • %{body: "description of the project"}

Example

Tentacat.Repositories.Projects.create client, "elixir-lang", "elixir", %{name: "tentacat", body: "project board for tentacat"}

More info at: https://developer.github.com/v3/projects/#create-a-repository-project

Link to this function

list(client, owner, repo)

View Source

Lists the projects in a repository.

Example

Tentacat.Repositories.Projects.list client, "elixir-lang", "elixir"

More info at: https://developer.github.com/v3/projects/#list-repository-projects