Organization encapsulates the functionality to create repositories in organizations
Create a new Organization
| Name | Type | Attributes | Default | Description |
|---|---|---|---|---|
organization | string | the name of the organization | ||
auth | Requestable.auth | <optional> | information required to authenticate to Github | |
apiBase | string | <optional> | https://api.github.com | the base Github API URL |
Create a new project
| Name | Type | Description |
|---|---|---|
options | Object | the description of the project |
cb | Requestable.callback | will receive the newly created project |
Create a repository in an organization
| Name | Type | Attributes | Description |
|---|---|---|---|
options | Object | the repository definition | |
cb | Requestable.callback | <optional> | will receive the created repository |
Create a team
| Name | Type | Attributes | Description | |||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | Team creation parameters Properties
| ||||||||||||||||||||||||||
cb | Requestable.callback | <optional> | will receive the created team |
List the repositories in an organization
| Name | Type | Attributes | Description |
|---|---|---|---|
cb | Requestable.callback | <optional> | will receive the list of repositories |
List the Teams in the Organization
| Name | Type | Attributes | Description |
|---|---|---|---|
cb | Requestable.callback | <optional> | will receive the list of teams |
Query if the user is a member or not
| Name | Type | Attributes | Description |
|---|---|---|---|
username | string | the user in question | |
cb | Requestable.callback | <optional> | will receive true if the user is a member |
List the users who are members of the company
| Name | Type | Attributes | Description | |||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | filtering options Properties
| ||||||||||||||||
cb | Requestable.callback | <optional> | will receive the list of users |
Get information about all projects
| Name | Type | Attributes | Description |
|---|---|---|---|
cb | Requestable.callback | <optional> | will receive the list of projects |