Skip to content

Commit e723ae1

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent af62b2b commit e723ae1

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

content/v3/orgs.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,6 +87,7 @@ Name | Type | Description
8787
`email`|`string` | The publicly visible email address.
8888
`location`|`string` | The location.
8989
`name`|`string` | The shorthand name of the company.
90+
`description`|`string` | The description of the company.
9091

9192
### Example
9293

@@ -96,7 +97,8 @@ Name | Type | Description
9697
:company => "GitHub",
9798
:email => "support@github.com",
9899
:location => "San Francisco",
99-
:name => "github"
100+
:name => "github",
101+
:description => "GitHub, the company."
100102
%>
101103

102104
### Response

content/v3/orgs/teams.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,13 +41,15 @@ In order to create a team, the authenticated user must be an owner of
4141
Name | Type | Description
4242
-----|------|--------------
4343
`name`|`string` | **Required**. The name of the team.
44+
`description`|`string` | The description of the team.
4445
`repo_names`|`array` of `strings` | The repositories to add the team to.
4546
`permission`|`string` | The permission to grant the team. Can be one of:<br/> * `pull` - team members can pull, but not push to or administer these repositories.<br/> * `push` - team members can pull and push, but not administer these repositories.<br/> * `admin` - team members can pull, push and administer these repositories.<br/>Default: `pull`
4647

4748
#### Example
4849

4950
<%= json \
5051
:name => 'new team',
52+
:description => 'team description',
5153
:permission => 'push',
5254
:repo_names => ['github/dotfiles'] %>
5355

@@ -68,12 +70,14 @@ the org that the team is associated with.
6870
Name | Type | Description
6971
-----|------|--------------
7072
`name`|`string` | **Required**. The name of the team.
73+
`description`|`string` | The description of the team.
7174
`permission`|`string` | The permission to grant the team. Can be one of:<br/> * `pull` - team members can pull, but not push to or administer these repositories.<br/> * `push` - team members can pull and push, but not administer these repositories.<br/> * `admin` - team members can pull, push and administer these repositories. Default: `pull`
7275

7376
#### Example
7477

7578
<%= json \
7679
:name => 'new team name',
80+
:name => 'new team description',
7781
:permission => 'push' %>
7882

7983
### Response

0 commit comments

Comments
 (0)