From f40650c66eb8b4fdb472ac53f36dbfee530bed8d Mon Sep 17 00:00:00 2001 From: Hubot Date: Tue, 17 Mar 2015 19:37:24 +0000 Subject: [PATCH] Sync changes from upstream repository --- content/v3/issues.md | 10 +++++----- lib/resources.rb | 10 ++++++++++ 2 files changed, 15 insertions(+), 5 deletions(-) diff --git a/content/v3/issues.md b/content/v3/issues.md index 5377ea34fc..81a8cb4e4d 100644 --- a/content/v3/issues.md +++ b/content/v3/issues.md @@ -12,6 +12,8 @@ read more about the use of media types in the API [here](/v3/media/). ## List issues +<%= fetch_content(:prs_as_issues) %> + List all issues across all the authenticated user's visible repositories including owned repositories, member repositories, and organization repositories: @@ -44,6 +46,8 @@ Name | Type | Description ## List issues for a repository +<%= fetch_content(:prs_as_issues) %> + GET /repos/:owner/:repo/issues ### Parameters @@ -67,11 +71,7 @@ Name | Type | Description ## Get a single issue -{{#tip}} - -**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. - -{{/tip}} +<%= fetch_content(:prs_as_issues) %> GET /repos/:owner/:repo/issues/:number diff --git a/lib/resources.rb b/lib/resources.rb index f684dea429..45f50ab3b7 100644 --- a/lib/resources.rb +++ b/lib/resources.rb @@ -131,6 +131,16 @@ def webhook_payload(event_name) `content_type` | `string` | The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. `secret` | `string` | If provided, payloads will be delivered with an `X-Hub-Signature` header. The value of this header is computed as the [HMAC hex digest of the body, using the `secret` as the key][hub-signature]. `insecure_ssl` | `string` | Determines whether the SSL certificate of the host for `url` will be verified when delivering payloads. Supported values include `"0"` (verification is performed) and `"1"` (verification is not performed). The default is `"0"`. **We strongly recommend not setting this to "1" as you are subject to man-in-the-middle and other attacks.** +''', + "PRS_AS_ISSUES" => + ''' +{{#tip}} + +**Note**: In the past, pull requests and issues were more closely aligned than they are now. As far as the API is concerned, every pull request is an issue, but not every issue is a pull request. + +This endpoint may also return pull requests in the response. If an issue *is* a pull request, the object will include a `pull_request` key. + +{{/tip}} ''' } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy