@@ -7,17 +7,17 @@ module.exports =
77 # Groups
88 " groups" :
99 options :
10- " per_page" : {
10+ per_page : {
1111 param : " [per_page]"
1212 alias : " e"
13- desc : " The limit of list."
13+ desc : " (optional) - The limit of list."
1414 type : true
1515 index : 0
1616 }
1717 page : {
1818 param : " [page]"
1919 alias : " p"
20- desc : " The offset of list."
20+ desc : " (optional) - The offset of list."
2121 type : true
2222 index : 0
2323 }
@@ -73,17 +73,17 @@ module.exports =
7373 type : true
7474 index : 0
7575 desc : " (optional) - Return requests sorted in asc or desc order. Default is desc"
76- " per_page" : {
76+ per_page : {
7777 param : " [per_page]"
7878 alias : " e"
79- desc : " The limit of list."
79+ desc : " (optional) - The limit of list."
8080 type : true
8181 index : 0
8282 }
8383 page : {
8484 param : " [page]"
8585 alias : " p"
86- desc : " The offset of list."
86+ desc : " (optional) - The offset of list."
8787 type : true
8888 index : 0
8989 }
@@ -259,21 +259,51 @@ module.exports =
259259 " <projectId>"
260260 ]
261261 options :
262- " per_page" : {
262+ state :
263+ param : " [state]"
264+ alias : " s"
265+ type : true
266+ index : 1
267+ desc : " (optional) - Return all issues or just those that are opened or closed"
268+ labels :
269+ param : " [labels]"
270+ alias : " l"
271+ type : true
272+ index : 1
273+ desc : " (optional) - Comma-separated list of label names"
274+ milestone :
275+ param : " [milestone]"
276+ alias : " m"
277+ type : true
278+ index : 1
279+ desc : " milestone (optional) - Milestone title"
280+ order_by :
281+ param : " [order_by]"
282+ alias : " o"
283+ type : true
284+ index : 1
285+ desc : " (optional) - Return requests ordered by created_at or updated_at fields. Default is created_at"
286+ sort :
287+ param : " [sort]"
288+ alias : " d"
289+ type : true
290+ index : 1
291+ desc : " (optional) - Return requests sorted in asc or desc order. Default is desc"
292+ per_page : {
263293 param : " [per_page]"
264294 alias : " e"
265- desc : " The limit of list."
295+ desc : " (optional) - The limit of list."
266296 type : true
267297 index : 1
268298 }
269299 page : {
270300 param : " [page]"
271301 alias : " p"
272- desc : " The offset of list."
302+ desc : " (optional) - The offset of list."
273303 type : true
274304 index : 1
275305 }
276- desc : " Get retrive issue of a given project."
306+ desc : " Get a list of project issues. This function accepts pagination parameters page and per_page to return the list of project issues ."
277307 nameSpaces : " projects.issues.list"
278308 callback : stringifyFormat
279309
@@ -318,17 +348,17 @@ module.exports =
318348 " <projectId>"
319349 ]
320350 options :
321- " per_page" : {
351+ per_page : {
322352 param : " [per_page]"
323353 alias : " e"
324- desc : " The limit of list."
354+ desc : " (optional) - The limit of list."
325355 type : true
326356 index : 1
327357 }
328358 page : {
329359 param : " [page]"
330360 alias : " p"
331- desc : " The offset of list."
361+ desc : " (optional) - The offset of list."
332362 type : true
333363 index : 1
334364 }
@@ -472,17 +502,17 @@ module.exports =
472502 # Project
473503 " projects" :
474504 options :
475- " per_page" : {
505+ per_page : {
476506 param : " [per_page]"
477507 alias : " e"
478- desc : " The limit of list."
508+ desc : " (optional) - The limit of list."
479509 type : true
480510 index : 0
481511 }
482512 page : {
483513 param : " [page]"
484514 alias : " p"
485- desc : " The offset of list."
515+ desc : " (optional) - The offset of list."
486516 type : true
487517 index : 0
488518 }
0 commit comments