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: api/v3.0.0/authorization.js
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -29,6 +29,8 @@ var authorization = module.exports = {
29
29
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
30
30
* - page (Number): Optional. Page number of the results to fetch. Validation rule: ` ^[0-9]+$ `.
31
31
* - per_page (Number): Optional. A custom page size up to 100. Default is 30. Validation rule: ` ^[0-9]+$ `.
@@ -74,6 +76,8 @@ var authorization = module.exports = {
74
76
*
75
77
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
@@ -216,6 +224,8 @@ var authorization = module.exports = {
216
224
*
217
225
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
@@ -125,6 +127,8 @@ var gists = module.exports = {
125
127
* - description (String): Optional.
126
128
* - public (Boolean): Required.
127
129
* - files (Json): Required. Files that make up this gist. The key of which should be a required string filename and the value another required hash with parameters: 'content'
@@ -172,6 +176,8 @@ var gists = module.exports = {
172
176
* - id (String): Required.
173
177
* - description (String): Optional.
174
178
* - files (Json): Required. Files that make up this gist. The key of which should be a required string filename and the value another required hash with parameters: 'content'
@@ -217,6 +223,8 @@ var gists = module.exports = {
217
223
*
218
224
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
219
225
* - since (Date): Optional. Timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
@@ -262,6 +270,8 @@ var gists = module.exports = {
262
270
*
263
271
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
264
272
* - since (Date): Optional. Timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ
@@ -307,6 +317,8 @@ var gists = module.exports = {
307
317
*
308
318
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
@@ -352,6 +364,8 @@ var gists = module.exports = {
352
364
*
353
365
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
@@ -397,6 +411,8 @@ var gists = module.exports = {
397
411
*
398
412
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
@@ -442,6 +458,8 @@ var gists = module.exports = {
442
458
*
443
459
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
@@ -487,6 +505,8 @@ var gists = module.exports = {
487
505
*
488
506
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
@@ -532,6 +552,8 @@ var gists = module.exports = {
532
552
*
533
553
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
Copy file name to clipboardExpand all lines: api/v3.0.0/gitignore.js
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -28,6 +28,8 @@ var gitignore = module.exports = {
28
28
*
29
29
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
30
30
* No other params, simply pass an empty Object literal `{}`
Copy file name to clipboardExpand all lines: api/v3.0.0/markdown.js
+4Lines changed: 4 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -30,6 +30,8 @@ var markdown = module.exports = {
30
30
* - text (String): Required. The Markdown text to render
31
31
* - mode (String): Optional. The rendering mode, `markdown` to render a document as plain Markdown, just like README files are rendered. `gfm` to render a document as user-content, e.g. like user comments or issues are rendered. In GFM mode, hard line breaks are always taken into account, and issue and user mentions are linked accordingly. Validation rule: ` ^(markdown|gfm)$ `.
32
32
* - context (String): Optional. The repository context, only taken into account when rendering as `gfm`
@@ -75,6 +77,8 @@ var markdown = module.exports = {
75
77
*
76
78
* - headers (Object): Optional. Key/ value pair of request headers to pass along with the HTTP request. Valid headers are: 'If-Modified-Since', 'If-None-Match', 'Cookie', 'User-Agent', 'Accept', 'X-GitHub-OTP'.
77
79
* - data (String): Required. Raw data to send as the body of the request
@@ -133,6 +137,8 @@ var pullRequests = module.exports = {
133
137
* - body (String): Optional.
134
138
* - 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.
135
139
* - head (String): Required. The branch (or git ref) where your changes are implemented.
* - 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.
184
190
* - head (String): Required. The branch (or git ref) where your changes are implemented.
0 commit comments