Skip to content

Commit 893767d

Browse files
committed
Convert orgs
1 parent 334a73b commit 893767d

2 files changed

Lines changed: 18 additions & 36 deletions

File tree

content/v3/orgs.md

Lines changed: 7 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,21 +37,14 @@ List public and private organizations for the authenticated user.
3737

3838
### Input
3939

40-
billing_email
41-
: _Optional_ **string** - Billing email address. This address is not
42-
publicized.
40+
Name | Type | Description | Required? | Default
41+
-----|------|--------------|----------|---------
42+
`billing_email`|`string` | Billing email address. This address is not publicized.| |
43+
`company`|`string` | The company name.| |
44+
`email`|`string` | The publicly visible email address.| |
45+
`location`|`string` | The location.| |
46+
`name`|`string` | The shorthand name of the company.| |
4347

44-
company
45-
: _Optional_ **string**
46-
47-
email
48-
: _Optional_ **string** - Publicly visible email address.
49-
50-
location
51-
: _Optional_ **string**
52-
53-
name
54-
: _Optional_ **string**
5548

5649
<%= json \
5750
:billing_email => "support@github.com",

content/v3/orgs/teams.md

Lines changed: 11 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -36,25 +36,14 @@ In order to create a team, the authenticated user must be an owner of
3636

3737
POST /orgs/:org/teams
3838

39-
### Input
39+
### Parameters
4040

41-
name
42-
: _Required_ **string**
41+
Name | Type | Description | Required? | Default
42+
-----|------|--------------|----------|---------
43+
`name`|`string` | The name of the team.|**YES**|
44+
`repo_names`|`array` of `strings` | The repositories to add the team to.| |
45+
`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.| | `pull`
4346

44-
repo\_names
45-
: _Optional_ **array** of **strings**
46-
47-
permission
48-
: _Optional_ **string**
49-
50-
`pull` - team members can pull, but not push to or administer these
51-
repositories. **Default**
52-
53-
`push` - team members can pull and push, but not administer these
54-
repositories.
55-
56-
`admin` - team members can pull, push and administer these
57-
repositories.
5847

5948
<%= json \
6049
:name => 'new team',
@@ -73,13 +62,13 @@ the org that the team is associated with.
7362

7463
PATCH /teams/:id
7564

76-
### Input
65+
### Parameters
7766

78-
name
79-
: _Required_ **string**
67+
Name | Type | Description | Required? | Default
68+
-----|------|--------------|----------|---------
69+
`name`|`string` | The name of the team.|**YES**|
70+
`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.| | `pull`
8071

81-
permission
82-
: _Optional_ **string**
8372

8473
<%= json \
8574
:name => 'new team name',

0 commit comments

Comments
 (0)