Skip to content

Commit ebb4ff7

Browse files
author
Hubot
committed
Sync changes from upstream repository
1 parent c8f44a4 commit ebb4ff7

File tree

3 files changed

+11
-7
lines changed

3 files changed

+11
-7
lines changed

content/v3/issues.md

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -67,19 +67,19 @@ Name | Type | Description
6767

6868
## Get a single issue
6969

70+
{{#tip}}
71+
72+
**Note**: Every pull request is an issue, but not every issue is a pull request. If the issue is not a pull request, the response omits the `pull_request` attribute.
73+
74+
{{/tip}}
75+
7076
GET /repos/:owner/:repo/issues/:number
7177

7278
### Response
7379

7480
<%= headers 200 %>
7581
<%= json :full_issue %>
7682

77-
<div class="alert">
78-
<p>
79-
<strong>Note</strong>: Every pull request is an issue, but not every issue is a pull request. If the issue is not a pull request, the response omits the <code>pull_request</code> attribute.
80-
</p>
81-
</div>
82-
8383
## Create an issue
8484

8585
Any user with pull access to a repository can create an issue.

content/v3/pulls.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -204,6 +204,10 @@ Name | Type | Description
204204
:message => 'Failure reason'
205205
%>
206206

207+
### Labels, assignees, and milestones
208+
209+
Every pull request is an issue, but not every issue is a pull request. For this reason, "shared" actions for both features, like manipulating assignees, labels and milestones, are provided within [the Issues API](/v3/issues).
210+
207211
## Custom media types
208212

209213
These are the supported media types for pull requests. You can read more about the

static/search-index.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -336,4 +336,4 @@
336336
"section": "API/Overview"
337337
}
338338
]
339-
}
339+
}

0 commit comments

Comments
 (0)