Organizations
A list of organizations for the current user.
Attributes
Name | Type | Description |
---|---|---|
organizations | [Organization] | List of organizations. |
Collection Items
Each entry in the organizations array has the following attributes:
Name | Type | Description |
---|---|---|
id | Integer | Value uniquely identifying the organization. |
login | String | Login set on GitHub. |
name | String | Name set on GitHub. |
vcs_type | Unknown | The organization's vcs_type. |
ro_mode | Unknown | The organization's ro_mode. |
github_id | Integer | Id set on GitHub. |
vcs_id | Unknown | The organization's vcs_id. |
avatar_url | String | Avatar_url set on GitHub. |
education | Boolean | Whether or not the organization has an education account. |
allow_migration | Unknown | The organization's allow_migration. |
allowance | Unknown | The organization's allowance. |
custom_keys | Unknown | The organization's custom_keys. |
trial_allowed | Unknown | The organization's trial_allowed. |
repositories | [Repository] | Repositories belonging to this organization. |
installation | Installation | Installation belonging to the organization. |
Actions
For Current User
This returns a list of organizations the current user is a member of.
GET
/orgs
Query Parameter | Type | Description |
---|---|---|
include | [String] | List of attributes to eager load. |
limit | Integer | How many organizations to include in the response. Used for pagination. |
offset | Integer | How many organizations to skip before the first entry in the response. Used for pagination. |
organization.role | Unknown | Documentation missing. |
role | Unknown | Alias for organization.role. |
sort_by | [String] | Attributes to sort organizations by. Used for pagination. |
Example:GET /orgs?limit=5
Sortable by: id, login, name, github_id, vcs_id, append :desc to any attribute to reverse order.