| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -12,6 +12,8 @@ read more about the use of media types in the API [here](/v3/media/). | |||
| 12 | 12 | ||
| 13 | 13 | ## List issues | |
| 14 | 14 | ||
| 15 | + <%= fetch_content(:prs_as_issues) %> | ||
| 16 | + | ||
| 15 | 17 | List all issues across all the authenticated user's visible repositories | |
| 16 | 18 | including owned repositories, member repositories, and organization | |
| 17 | 19 | repositories: | |
@@ -44,6 +46,8 @@ Name | Type | Description | |||
| 44 | 46 | ||
| 45 | 47 | ## List issues for a repository | |
| 46 | 48 | ||
| 49 | + <%= fetch_content(:prs_as_issues) %> | ||
| 50 | + | ||
| 47 | 51 | GET /repos/:owner/:repo/issues | |
| 48 | 52 | ||
| 49 | 53 | ### Parameters | |
@@ -67,11 +71,7 @@ Name | Type | Description | |||
| 67 | 71 | ||
| 68 | 72 | ## Get a single issue | |
| 69 | 73 | ||
| 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}} | ||
| 74 | + <%= fetch_content(:prs_as_issues) %> | ||
| 75 | 75 | ||
| 76 | 76 | GET /repos/:owner/:repo/issues/:number | |
| 77 | 77 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -131,6 +131,16 @@ def webhook_payload(event_name) | |||
| 131 | 131 | `content_type` | `string` | The media type used to serialize the payloads. Supported values include `json` and `form`. The default is `form`. | |
| 132 | 132 | `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]. | |
| 133 | 133 | `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.** | |
| 134 | + ''', | ||
| 135 | + "PRS_AS_ISSUES" => | ||
| 136 | + ''' | ||
| 137 | + {{#tip}} | ||
| 138 | + | ||
| 139 | + **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. | ||
| 140 | + | ||
| 141 | + 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. | ||
| 142 | + | ||
| 143 | + {{/tip}} | ||
| 134 | 144 | ''' | |
| 135 | 145 | } | |
| 136 | 146 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments