You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/v3/pulls.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -78,7 +78,7 @@ Name | Type | Description
78
78
-----|------|-------------
79
79
`title`|`string` | **Required**. The title of the pull request.
80
80
`head`|`string` | **Required**. The branch (or git ref) where your changes are implemented.
81
-
`base`|`string` | **Required**. The branch (or git ref) you want your changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repo that requests a merge to a base of another repo.
81
+
`base`|`string` | **Required**. The branch (or git ref) you want your changes pulled into. This should be an existing branch on the current repository. You cannot submit a pull request to one repository that requests a merge to a base of another repository.
82
82
`body`|`string` | The contents of the pull request.
Copy file name to clipboardExpand all lines: content/v3/repos.md
+5-5Lines changed: 5 additions & 5 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -110,15 +110,15 @@ Name | Type | Description
110
110
`has_issues`|`boolean` | Either `true` to enable issues for this repository, `false` to disable them. Default: `true`
111
111
`has_wiki`|`boolean` | Either `true` to enable the wiki for this repository, `false` to disable it. Default: `true`
112
112
`has_downloads`|`boolean` | Either `true` to enable downloads for this repository, `false` to disable them. Default: `true`
113
-
`team_id`|`number` | The id of the team that will be granted access to this repository. This is only valid when creating a repo in an organization.
113
+
`team_id`|`number` | The id of the team that will be granted access to this repository. This is only valid when creating a repository in an organization.
114
114
`auto_init`|`boolean` | Pass `true` to create an initial commit with empty README. Default: `false`
115
115
`gitignore_template`|`string` | Desired language or platform [.gitignore template](https://github.com/github/gitignore) to apply. Use the name of the template without the extension. For example, "Haskell". _Ignored if the `auto_init` parameter is not provided._
116
116
117
117
#### Example
118
118
119
119
<%= json \
120
120
:name => "Hello-World",
121
-
:description => "This is your first repo",
121
+
:description => "This is your first repository",
122
122
:homepage => "https://github.com",
123
123
:private => false,
124
124
:has_issues => true,
@@ -139,8 +139,8 @@ Name | Type | Description
139
139
140
140
### Response
141
141
142
-
The `parent` and `source` objects are present when the repo is a fork.
143
-
`parent` is the repo this repo was forked from,
142
+
The `parent` and `source` objects are present when the repository is a fork.
143
+
`parent` is the repository this repository was forked from,
Copy file name to clipboardExpand all lines: content/v3/repos/hooks.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -113,7 +113,7 @@ The JSON HTTP API follows the same conventions as the rest of the
113
113
Name | Type | Description
114
114
-----|------|--------------
115
115
`name`|`string` | **Required**. The name of the service that is being called. (See [/hooks](https://api.github.com/hooks) for the list of valid hook names.)
116
-
`config`|`hash` | **Required**. Key/value pairs to provide settings for this hook. These settings vary between the services and are defined in the [github-services](https://github.com/github/github-services)repo. Booleans are stored internally as "1" for true, and "0" for false. Any JSON `true`/`false` values will be converted automatically.
116
+
`config`|`hash` | **Required**. Key/value pairs to provide settings for this hook. These settings vary between the services and are defined in the [github-services](https://github.com/github/github-services)repository. Booleans are stored internally as "1" for true, and "0" for false. Any JSON `true`/`false` values will be converted automatically.
117
117
`events`|`array` | Determines what events the hook is triggered for. Default: `["push"]`
118
118
`active`|`boolean` | Determines whether the hook is actually triggered on pushes.
119
119
@@ -152,7 +152,7 @@ Here's how you can setup a hook that posts raw JSON
152
152
153
153
Name | Type | Description
154
154
-----|------|--------------
155
-
`config`|`hash` | Key/value pairs to provide settings for this hook. Modifying this will replace the entire config object. These settings vary between the services and are defined in the [github-services](https://github.com/github/github-services)repo. Booleans are stored internally as "1" for true, and "0" for false. Any JSON `true`/`false` values will be converted automatically.
155
+
`config`|`hash` | Key/value pairs to provide settings for this hook. Modifying this will replace the entire config object. These settings vary between the services and are defined in the [github-services](https://github.com/github/github-services)repository. Booleans are stored internally as "1" for true, and "0" for false. Any JSON `true`/`false` values will be converted automatically.
156
156
`events`|`array` | Determines what events the hook is triggered for. This replaces the entire array of events. Default: `["push"]`
157
157
`add_events`|`array` | Determines a list of events to be added to the list of events that the Hook triggers for.
158
158
`remove_events`|`array` | Determines a list of events to be removed from the list of events that the Hook triggers for.
0 commit comments