View Source Tentacat.Organizations.Projects (Tentacat v2.4.0)

Summary

Functions

Create a new project for an organization.

Lists the projects in an organization.

Functions

Link to this function

create(client, organization, options)

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

Create a new project for an organization.

Possible values for options:

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

Example

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

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

Link to this function

list(client, organization)

View Source

Lists the projects in an organization.

Example

Tentacat.Organizations.Projects.list client, "elixir"

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