FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

Sync changes from upstream repository by hubot · Pull Request #739 · github/developer.github.com · GitHub

This repository was archived by the owner on Nov 1, 2017. It is now read-only.
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension .md  (1) .rb  (1) All 2 file types selected
Viewed files
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Unified
Split
Hide whitespace
Diff view
Unified
Split
Hide whitespace
10 changes: 5 additions & 5 deletions content/v3/issues.md
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down Expand Up @@ -44,6 +46,8 @@ Name | Type | Description

## List issues for a repository

<%= fetch_content(:prs_as_issues) %>

GET /repos/:owner/:repo/issues

### Parameters
Expand All @@ -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

Expand Down
10 changes: 10 additions & 0 deletions lib/resources.rb
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Original file line number Diff line number Diff line change
Expand Up @@ -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}}
'''
}

Expand Down

Back | FazBrowse Home | New Git URL