Description Usage Arguments Details Value Examples
This function creates a new column in a project in GitHub. The column will be empty so you will need to add cards separately.
1 | create_column(name, project, repo, user, org, ...)
|
name |
(string) The name of the column. |
project |
(integer or string) Either the project number or name. |
repo |
(string, optional) The repository specified in the format:
|
user |
(string, optional) The login of the user. |
org |
(string, optional) The name of the organization. |
... |
Parameters passed to |
You can create a column in a project associated with either a repository, user or organization, by supplying them as an input, as long as you have appropriate permissions.
For more details see the GitHub API documentation:
create_column()
returns a list of the column properties.
Column Properties:
id: The ID of the column.
name: The name given to the column.
created_at: When it was created.
updated_at: When it was last updated.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 | ## Not run:
# Create a column in a repository project
create_column(
name = "Test column",
project = "Test project",
repo = "ChadGoymer/githapi"
)
# Create a column in a user's project
create_column(
name = "Test column",
project = "Test project",
user = "ChadGoymer"
)
# Create a column in an organization's project
create_column(
name = "Test column",
project = "Test project",
org = "HairyCoos"
)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.