Skip to content

Commit ac598f7

Browse files
committed
added missing docs, auto-generated.
1 parent cb47d1c commit ac598f7

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

api/v3.0.0/releases.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ var releases = module.exports = {
163163
* - id (Number): Required.
164164
* - repo (String): Required.
165165
* - tag_name (String): Required. String of the tag
166-
* - target_commitish (String): Optional. Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repositorys default branch (usually master).
166+
* - target_commitish (String): Optional. Specifies the commitish value that determines where the Git tag is created from. Can be any branch or commit SHA. Unused if the Git tag already exists. Default: the repository's default branch (usually master).
167167
* - name (String): Optional.
168168
* - body (String): Optional.
169169
* - draft (Boolean): Optional. true to create a draft (unpublished) release, false to create a published one. Default: false

api/v3.0.0/search.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@ var search = module.exports = {
3030
* - q (String): Required. Search Term
3131
* - sort (String): Optional. comments, created, or updated Validation rule: ` ^(comments|created|updated)$ `.
3232
* - order (String): Optional. asc or desc Validation rule: ` ^(asc|desc)$ `.
33+
* - page (Number): Optional. Page number of the results to fetch. Validation rule: ` ^[0-9]+$ `.
34+
* - per_page (Number): Optional. A custom page size up to 100. Default is 30. Validation rule: ` ^[0-9]+$ `.
3335
**/
3436
this.issues = function(msg, block, callback) {
3537
var self = this;
@@ -72,6 +74,8 @@ var search = module.exports = {
7274
* - q (String): Required. Search Term
7375
* - sort (String): Optional. stars, forks, or updated Validation rule: ` ^(stars|forks|updated)$ `.
7476
* - order (String): Optional. asc or desc Validation rule: ` ^(asc|desc)$ `.
77+
* - page (Number): Optional. Page number of the results to fetch. Validation rule: ` ^[0-9]+$ `.
78+
* - per_page (Number): Optional. A custom page size up to 100. Default is 30. Validation rule: ` ^[0-9]+$ `.
7579
**/
7680
this.repos = function(msg, block, callback) {
7781
var self = this;
@@ -114,6 +118,8 @@ var search = module.exports = {
114118
* - q (String): Required. Search Term
115119
* - sort (String): Optional. followers, repositories, or joined Validation rule: ` ^(followers|repositories|joined)$ `.
116120
* - order (String): Optional. asc or desc Validation rule: ` ^(asc|desc)$ `.
121+
* - page (Number): Optional. Page number of the results to fetch. Validation rule: ` ^[0-9]+$ `.
122+
* - per_page (Number): Optional. A custom page size up to 100. Default is 30. Validation rule: ` ^[0-9]+$ `.
117123
**/
118124
this.users = function(msg, block, callback) {
119125
var self = this;

0 commit comments

Comments
 (0)