Rust API for Gitea, automatically generated https://git.exmods.org/swagger.v1.json
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

IssueApi.md 86KB

4 years ago
123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952953954955956957958959960961962963964965966967968969970971972973974975976977978979980981982983984985986987988989990991992993994995996997998999100010011002100310041005100610071008100910101011101210131014101510161017101810191020102110221023102410251026102710281029103010311032103310341035103610371038103910401041104210431044104510461047104810491050105110521053105410551056105710581059106010611062106310641065106610671068106910701071107210731074107510761077107810791080108110821083108410851086108710881089109010911092109310941095109610971098109911001101110211031104110511061107110811091110111111121113111411151116111711181119112011211122112311241125112611271128112911301131113211331134113511361137113811391140114111421143114411451146114711481149115011511152115311541155115611571158115911601161116211631164116511661167116811691170117111721173117411751176117711781179118011811182118311841185118611871188118911901191119211931194119511961197119811991200120112021203120412051206120712081209121012111212121312141215121612171218121912201221122212231224122512261227122812291230123112321233123412351236123712381239124012411242124312441245124612471248124912501251125212531254125512561257125812591260126112621263126412651266126712681269127012711272127312741275127612771278127912801281128212831284128512861287128812891290129112921293129412951296129712981299130013011302130313041305130613071308130913101311131213131314131513161317131813191320132113221323132413251326132713281329133013311332133313341335133613371338133913401341134213431344134513461347134813491350135113521353135413551356135713581359136013611362136313641365136613671368136913701371137213731374137513761377137813791380138113821383138413851386138713881389139013911392139313941395139613971398139914001401140214031404140514061407140814091410141114121413141414151416141714181419142014211422142314241425142614271428142914301431143214331434143514361437143814391440144114421443144414451446144714481449145014511452145314541455145614571458145914601461146214631464146514661467146814691470147114721473147414751476147714781479148014811482148314841485148614871488148914901491149214931494149514961497149814991500150115021503150415051506150715081509151015111512151315141515151615171518151915201521152215231524152515261527152815291530153115321533153415351536153715381539154015411542154315441545154615471548154915501551155215531554155515561557155815591560156115621563156415651566156715681569157015711572157315741575157615771578157915801581158215831584158515861587158815891590159115921593159415951596159715981599160016011602160316041605160616071608160916101611161216131614161516161617161816191620162116221623162416251626162716281629163016311632163316341635163616371638163916401641164216431644164516461647164816491650165116521653165416551656165716581659166016611662166316641665166616671668166916701671167216731674167516761677167816791680168116821683168416851686168716881689169016911692169316941695169616971698169917001701170217031704170517061707170817091710171117121713171417151716171717181719172017211722172317241725172617271728172917301731173217331734173517361737173817391740174117421743
  1. # \IssueApi
  2. All URIs are relative to *http://localhost/api/v1*
  3. Method | HTTP request | Description
  4. ------------- | ------------- | -------------
  5. [**issue_add_label**](IssueApi.md#issue_add_label) | **Post** /repos/{owner}/{repo}/issues/{index}/labels | Add a label to an issue
  6. [**issue_add_subscription**](IssueApi.md#issue_add_subscription) | **Put** /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Subscribe user to issue
  7. [**issue_add_time**](IssueApi.md#issue_add_time) | **Post** /repos/{owner}/{repo}/issues/{index}/times | Add tracked time to a issue
  8. [**issue_clear_labels**](IssueApi.md#issue_clear_labels) | **Delete** /repos/{owner}/{repo}/issues/{index}/labels | Remove all labels from an issue
  9. [**issue_create_comment**](IssueApi.md#issue_create_comment) | **Post** /repos/{owner}/{repo}/issues/{index}/comments | Add a comment to an issue
  10. [**issue_create_issue**](IssueApi.md#issue_create_issue) | **Post** /repos/{owner}/{repo}/issues | Create an issue. If using deadline only the date will be taken into account, and time of day ignored.
  11. [**issue_create_label**](IssueApi.md#issue_create_label) | **Post** /repos/{owner}/{repo}/labels | Create a label
  12. [**issue_create_milestone**](IssueApi.md#issue_create_milestone) | **Post** /repos/{owner}/{repo}/milestones | Create a milestone
  13. [**issue_delete_comment**](IssueApi.md#issue_delete_comment) | **Delete** /repos/{owner}/{repo}/issues/comments/{id} | Delete a comment
  14. [**issue_delete_comment_deprecated**](IssueApi.md#issue_delete_comment_deprecated) | **Delete** /repos/{owner}/{repo}/issues/{index}/comments/{id} | Delete a comment
  15. [**issue_delete_comment_reaction**](IssueApi.md#issue_delete_comment_reaction) | **Delete** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Remove a reaction from a comment of an issue
  16. [**issue_delete_issue_reaction**](IssueApi.md#issue_delete_issue_reaction) | **Delete** /repos/{owner}/{repo}/issues/{index}/reactions | Remove a reaction from an issue
  17. [**issue_delete_label**](IssueApi.md#issue_delete_label) | **Delete** /repos/{owner}/{repo}/labels/{id} | Delete a label
  18. [**issue_delete_milestone**](IssueApi.md#issue_delete_milestone) | **Delete** /repos/{owner}/{repo}/milestones/{id} | Delete a milestone
  19. [**issue_delete_stop_watch**](IssueApi.md#issue_delete_stop_watch) | **Delete** /repos/{owner}/{repo}/issues/{index}/stopwatch/delete | Delete an issue's existing stopwatch.
  20. [**issue_delete_subscription**](IssueApi.md#issue_delete_subscription) | **Delete** /repos/{owner}/{repo}/issues/{index}/subscriptions/{user} | Unsubscribe user from issue
  21. [**issue_delete_time**](IssueApi.md#issue_delete_time) | **Delete** /repos/{owner}/{repo}/issues/{index}/times/{id} | Delete specific tracked time
  22. [**issue_edit_comment**](IssueApi.md#issue_edit_comment) | **Patch** /repos/{owner}/{repo}/issues/comments/{id} | Edit a comment
  23. [**issue_edit_comment_deprecated**](IssueApi.md#issue_edit_comment_deprecated) | **Patch** /repos/{owner}/{repo}/issues/{index}/comments/{id} | Edit a comment
  24. [**issue_edit_issue**](IssueApi.md#issue_edit_issue) | **Patch** /repos/{owner}/{repo}/issues/{index} | Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.
  25. [**issue_edit_issue_deadline**](IssueApi.md#issue_edit_issue_deadline) | **Post** /repos/{owner}/{repo}/issues/{index}/deadline | Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.
  26. [**issue_edit_label**](IssueApi.md#issue_edit_label) | **Patch** /repos/{owner}/{repo}/labels/{id} | Update a label
  27. [**issue_edit_milestone**](IssueApi.md#issue_edit_milestone) | **Patch** /repos/{owner}/{repo}/milestones/{id} | Update a milestone
  28. [**issue_get_comment_reactions**](IssueApi.md#issue_get_comment_reactions) | **Get** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Get a list of reactions from a comment of an issue
  29. [**issue_get_comments**](IssueApi.md#issue_get_comments) | **Get** /repos/{owner}/{repo}/issues/{index}/comments | List all comments on an issue
  30. [**issue_get_issue**](IssueApi.md#issue_get_issue) | **Get** /repos/{owner}/{repo}/issues/{index} | Get an issue
  31. [**issue_get_issue_reactions**](IssueApi.md#issue_get_issue_reactions) | **Get** /repos/{owner}/{repo}/issues/{index}/reactions | Get a list reactions of an issue
  32. [**issue_get_label**](IssueApi.md#issue_get_label) | **Get** /repos/{owner}/{repo}/labels/{id} | Get a single label
  33. [**issue_get_labels**](IssueApi.md#issue_get_labels) | **Get** /repos/{owner}/{repo}/issues/{index}/labels | Get an issue's labels
  34. [**issue_get_milestone**](IssueApi.md#issue_get_milestone) | **Get** /repos/{owner}/{repo}/milestones/{id} | Get a milestone
  35. [**issue_get_milestones_list**](IssueApi.md#issue_get_milestones_list) | **Get** /repos/{owner}/{repo}/milestones | Get all of a repository's opened milestones
  36. [**issue_get_repo_comments**](IssueApi.md#issue_get_repo_comments) | **Get** /repos/{owner}/{repo}/issues/comments | List all comments in a repository
  37. [**issue_list_issues**](IssueApi.md#issue_list_issues) | **Get** /repos/{owner}/{repo}/issues | List a repository's issues
  38. [**issue_list_labels**](IssueApi.md#issue_list_labels) | **Get** /repos/{owner}/{repo}/labels | Get all of a repository's labels
  39. [**issue_post_comment_reaction**](IssueApi.md#issue_post_comment_reaction) | **Post** /repos/{owner}/{repo}/issues/comments/{id}/reactions | Add a reaction to a comment of an issue
  40. [**issue_post_issue_reaction**](IssueApi.md#issue_post_issue_reaction) | **Post** /repos/{owner}/{repo}/issues/{index}/reactions | Add a reaction to an issue
  41. [**issue_remove_label**](IssueApi.md#issue_remove_label) | **Delete** /repos/{owner}/{repo}/issues/{index}/labels/{id} | Remove a label from an issue
  42. [**issue_replace_labels**](IssueApi.md#issue_replace_labels) | **Put** /repos/{owner}/{repo}/issues/{index}/labels | Replace an issue's labels
  43. [**issue_reset_time**](IssueApi.md#issue_reset_time) | **Delete** /repos/{owner}/{repo}/issues/{index}/times | Reset a tracked time of an issue
  44. [**issue_search_issues**](IssueApi.md#issue_search_issues) | **Get** /repos/issues/search | Search for issues across the repositories that the user has access to
  45. [**issue_start_stop_watch**](IssueApi.md#issue_start_stop_watch) | **Post** /repos/{owner}/{repo}/issues/{index}/stopwatch/start | Start stopwatch on an issue.
  46. [**issue_stop_stop_watch**](IssueApi.md#issue_stop_stop_watch) | **Post** /repos/{owner}/{repo}/issues/{index}/stopwatch/stop | Stop an issue's existing stopwatch.
  47. [**issue_subscriptions**](IssueApi.md#issue_subscriptions) | **Get** /repos/{owner}/{repo}/issues/{index}/subscriptions | Get users who subscribed on an issue.
  48. [**issue_tracked_times**](IssueApi.md#issue_tracked_times) | **Get** /repos/{owner}/{repo}/issues/{index}/times | List an issue's tracked times
  49. # **issue_add_label**
  50. > Vec<::models::Label> issue_add_label(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
  51. Add a label to an issue
  52. ### Required Parameters
  53. Name | Type | Description | Notes
  54. ------------- | ------------- | ------------- | -------------
  55. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  56. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  57. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  58. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  59. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  60. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  61. **owner** | **String**| owner of the repo |
  62. **repo** | **String**| name of the repo |
  63. **index** | **i64**| index of the issue |
  64. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  65. ### Optional Parameters
  66. Optional parameters are passed through a map[string]interface{}.
  67. Name | Type | Description | Notes
  68. ------------- | ------------- | ------------- | -------------
  69. **owner** | **String**| owner of the repo |
  70. **repo** | **String**| name of the repo |
  71. **index** | **i64**| index of the issue |
  72. **body** | [**IssueLabelsOption**](IssueLabelsOption.md)| |
  73. ### Return type
  74. [**Vec<::models::Label>**](Label.md)
  75. ### Authorization
  76. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  77. ### HTTP request headers
  78. - **Content-Type**: application/json
  79. - **Accept**: application/json
  80. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  81. # **issue_add_subscription**
  82. > issue_add_subscription(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, user)
  83. Subscribe user to issue
  84. ### Required Parameters
  85. Name | Type | Description | Notes
  86. ------------- | ------------- | ------------- | -------------
  87. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  88. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  89. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  90. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  91. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  92. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  93. **owner** | **String**| owner of the repo |
  94. **repo** | **String**| name of the repo |
  95. **index** | **i64**| index of the issue |
  96. **user** | **String**| user to subscribe |
  97. ### Return type
  98. (empty response body)
  99. ### Authorization
  100. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  101. ### HTTP request headers
  102. - **Content-Type**: application/json
  103. - **Accept**: application/json
  104. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  105. # **issue_add_time**
  106. > ::models::TrackedTime issue_add_time(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
  107. Add tracked time to a issue
  108. ### Required Parameters
  109. Name | Type | Description | Notes
  110. ------------- | ------------- | ------------- | -------------
  111. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  112. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  113. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  114. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  115. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  116. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  117. **owner** | **String**| owner of the repo |
  118. **repo** | **String**| name of the repo |
  119. **index** | **i64**| index of the issue |
  120. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  121. ### Optional Parameters
  122. Optional parameters are passed through a map[string]interface{}.
  123. Name | Type | Description | Notes
  124. ------------- | ------------- | ------------- | -------------
  125. **owner** | **String**| owner of the repo |
  126. **repo** | **String**| name of the repo |
  127. **index** | **i64**| index of the issue |
  128. **body** | [**AddTimeOption**](AddTimeOption.md)| |
  129. ### Return type
  130. [**::models::TrackedTime**](TrackedTime.md)
  131. ### Authorization
  132. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  133. ### HTTP request headers
  134. - **Content-Type**: application/json
  135. - **Accept**: application/json
  136. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  137. # **issue_clear_labels**
  138. > issue_clear_labels(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
  139. Remove all labels from an issue
  140. ### Required Parameters
  141. Name | Type | Description | Notes
  142. ------------- | ------------- | ------------- | -------------
  143. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  144. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  145. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  146. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  147. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  148. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  149. **owner** | **String**| owner of the repo |
  150. **repo** | **String**| name of the repo |
  151. **index** | **i64**| index of the issue |
  152. ### Return type
  153. (empty response body)
  154. ### Authorization
  155. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  156. ### HTTP request headers
  157. - **Content-Type**: application/json, text/plain
  158. - **Accept**: application/json
  159. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  160. # **issue_create_comment**
  161. > ::models::Comment issue_create_comment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
  162. Add a comment to an issue
  163. ### Required Parameters
  164. Name | Type | Description | Notes
  165. ------------- | ------------- | ------------- | -------------
  166. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  167. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  168. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  169. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  170. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  171. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  172. **owner** | **String**| owner of the repo |
  173. **repo** | **String**| name of the repo |
  174. **index** | **i64**| index of the issue |
  175. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  176. ### Optional Parameters
  177. Optional parameters are passed through a map[string]interface{}.
  178. Name | Type | Description | Notes
  179. ------------- | ------------- | ------------- | -------------
  180. **owner** | **String**| owner of the repo |
  181. **repo** | **String**| name of the repo |
  182. **index** | **i64**| index of the issue |
  183. **body** | [**CreateIssueCommentOption**](CreateIssueCommentOption.md)| |
  184. ### Return type
  185. [**::models::Comment**](Comment.md)
  186. ### Authorization
  187. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  188. ### HTTP request headers
  189. - **Content-Type**: application/json
  190. - **Accept**: application/json
  191. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  192. # **issue_create_issue**
  193. > ::models::Issue issue_create_issue(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
  194. Create an issue. If using deadline only the date will be taken into account, and time of day ignored.
  195. ### Required Parameters
  196. Name | Type | Description | Notes
  197. ------------- | ------------- | ------------- | -------------
  198. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  199. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  200. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  201. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  202. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  203. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  204. **owner** | **String**| owner of the repo |
  205. **repo** | **String**| name of the repo |
  206. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  207. ### Optional Parameters
  208. Optional parameters are passed through a map[string]interface{}.
  209. Name | Type | Description | Notes
  210. ------------- | ------------- | ------------- | -------------
  211. **owner** | **String**| owner of the repo |
  212. **repo** | **String**| name of the repo |
  213. **body** | [**CreateIssueOption**](CreateIssueOption.md)| |
  214. ### Return type
  215. [**::models::Issue**](Issue.md)
  216. ### Authorization
  217. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  218. ### HTTP request headers
  219. - **Content-Type**: application/json
  220. - **Accept**: application/json
  221. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  222. # **issue_create_label**
  223. > ::models::Label issue_create_label(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
  224. Create a label
  225. ### Required Parameters
  226. Name | Type | Description | Notes
  227. ------------- | ------------- | ------------- | -------------
  228. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  229. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  230. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  231. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  232. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  233. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  234. **owner** | **String**| owner of the repo |
  235. **repo** | **String**| name of the repo |
  236. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  237. ### Optional Parameters
  238. Optional parameters are passed through a map[string]interface{}.
  239. Name | Type | Description | Notes
  240. ------------- | ------------- | ------------- | -------------
  241. **owner** | **String**| owner of the repo |
  242. **repo** | **String**| name of the repo |
  243. **body** | [**CreateLabelOption**](CreateLabelOption.md)| |
  244. ### Return type
  245. [**::models::Label**](Label.md)
  246. ### Authorization
  247. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  248. ### HTTP request headers
  249. - **Content-Type**: application/json
  250. - **Accept**: application/json
  251. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  252. # **issue_create_milestone**
  253. > ::models::Milestone issue_create_milestone(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
  254. Create a milestone
  255. ### Required Parameters
  256. Name | Type | Description | Notes
  257. ------------- | ------------- | ------------- | -------------
  258. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  259. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  260. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  261. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  262. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  263. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  264. **owner** | **String**| owner of the repo |
  265. **repo** | **String**| name of the repo |
  266. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  267. ### Optional Parameters
  268. Optional parameters are passed through a map[string]interface{}.
  269. Name | Type | Description | Notes
  270. ------------- | ------------- | ------------- | -------------
  271. **owner** | **String**| owner of the repo |
  272. **repo** | **String**| name of the repo |
  273. **body** | [**CreateMilestoneOption**](CreateMilestoneOption.md)| |
  274. ### Return type
  275. [**::models::Milestone**](Milestone.md)
  276. ### Authorization
  277. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  278. ### HTTP request headers
  279. - **Content-Type**: application/json
  280. - **Accept**: application/json
  281. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  282. # **issue_delete_comment**
  283. > issue_delete_comment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
  284. Delete a comment
  285. ### Required Parameters
  286. Name | Type | Description | Notes
  287. ------------- | ------------- | ------------- | -------------
  288. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  289. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  290. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  291. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  292. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  293. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  294. **owner** | **String**| owner of the repo |
  295. **repo** | **String**| name of the repo |
  296. **id** | **i64**| id of comment to delete |
  297. ### Return type
  298. (empty response body)
  299. ### Authorization
  300. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  301. ### HTTP request headers
  302. - **Content-Type**: application/json, text/plain
  303. - **Accept**: application/json, text/html
  304. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  305. # **issue_delete_comment_deprecated**
  306. > issue_delete_comment_deprecated(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, id)
  307. Delete a comment
  308. ### Required Parameters
  309. Name | Type | Description | Notes
  310. ------------- | ------------- | ------------- | -------------
  311. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  312. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  313. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  314. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  315. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  316. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  317. **owner** | **String**| owner of the repo |
  318. **repo** | **String**| name of the repo |
  319. **index** | **i32**| this parameter is ignored |
  320. **id** | **i64**| id of comment to delete |
  321. ### Return type
  322. (empty response body)
  323. ### Authorization
  324. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  325. ### HTTP request headers
  326. - **Content-Type**: application/json, text/plain
  327. - **Accept**: application/json, text/html
  328. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  329. # **issue_delete_comment_reaction**
  330. > issue_delete_comment_reaction(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional)
  331. Remove a reaction from a comment of an issue
  332. ### Required Parameters
  333. Name | Type | Description | Notes
  334. ------------- | ------------- | ------------- | -------------
  335. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  336. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  337. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  338. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  339. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  340. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  341. **owner** | **String**| owner of the repo |
  342. **repo** | **String**| name of the repo |
  343. **id** | **i64**| id of the comment to edit |
  344. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  345. ### Optional Parameters
  346. Optional parameters are passed through a map[string]interface{}.
  347. Name | Type | Description | Notes
  348. ------------- | ------------- | ------------- | -------------
  349. **owner** | **String**| owner of the repo |
  350. **repo** | **String**| name of the repo |
  351. **id** | **i64**| id of the comment to edit |
  352. **content** | [**EditReactionOption**](EditReactionOption.md)| |
  353. ### Return type
  354. (empty response body)
  355. ### Authorization
  356. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  357. ### HTTP request headers
  358. - **Content-Type**: application/json
  359. - **Accept**: application/json
  360. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  361. # **issue_delete_issue_reaction**
  362. > issue_delete_issue_reaction(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
  363. Remove a reaction from an issue
  364. ### Required Parameters
  365. Name | Type | Description | Notes
  366. ------------- | ------------- | ------------- | -------------
  367. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  368. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  369. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  370. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  371. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  372. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  373. **owner** | **String**| owner of the repo |
  374. **repo** | **String**| name of the repo |
  375. **index** | **i64**| index of the issue |
  376. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  377. ### Optional Parameters
  378. Optional parameters are passed through a map[string]interface{}.
  379. Name | Type | Description | Notes
  380. ------------- | ------------- | ------------- | -------------
  381. **owner** | **String**| owner of the repo |
  382. **repo** | **String**| name of the repo |
  383. **index** | **i64**| index of the issue |
  384. **content** | [**EditReactionOption**](EditReactionOption.md)| |
  385. ### Return type
  386. (empty response body)
  387. ### Authorization
  388. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  389. ### HTTP request headers
  390. - **Content-Type**: application/json
  391. - **Accept**: application/json
  392. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  393. # **issue_delete_label**
  394. > issue_delete_label(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
  395. Delete a label
  396. ### Required Parameters
  397. Name | Type | Description | Notes
  398. ------------- | ------------- | ------------- | -------------
  399. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  400. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  401. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  402. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  403. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  404. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  405. **owner** | **String**| owner of the repo |
  406. **repo** | **String**| name of the repo |
  407. **id** | **i64**| id of the label to delete |
  408. ### Return type
  409. (empty response body)
  410. ### Authorization
  411. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  412. ### HTTP request headers
  413. - **Content-Type**: application/json, text/plain
  414. - **Accept**: application/json, text/html
  415. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  416. # **issue_delete_milestone**
  417. > issue_delete_milestone(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
  418. Delete a milestone
  419. ### Required Parameters
  420. Name | Type | Description | Notes
  421. ------------- | ------------- | ------------- | -------------
  422. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  423. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  424. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  425. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  426. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  427. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  428. **owner** | **String**| owner of the repo |
  429. **repo** | **String**| name of the repo |
  430. **id** | **i64**| id of the milestone to delete |
  431. ### Return type
  432. (empty response body)
  433. ### Authorization
  434. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  435. ### HTTP request headers
  436. - **Content-Type**: application/json, text/plain
  437. - **Accept**: application/json, text/html
  438. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  439. # **issue_delete_stop_watch**
  440. > issue_delete_stop_watch(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
  441. Delete an issue's existing stopwatch.
  442. ### Required Parameters
  443. Name | Type | Description | Notes
  444. ------------- | ------------- | ------------- | -------------
  445. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  446. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  447. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  448. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  449. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  450. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  451. **owner** | **String**| owner of the repo |
  452. **repo** | **String**| name of the repo |
  453. **index** | **i64**| index of the issue to stop the stopwatch on |
  454. ### Return type
  455. (empty response body)
  456. ### Authorization
  457. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  458. ### HTTP request headers
  459. - **Content-Type**: application/json
  460. - **Accept**: application/json
  461. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  462. # **issue_delete_subscription**
  463. > issue_delete_subscription(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, user)
  464. Unsubscribe user from issue
  465. ### Required Parameters
  466. Name | Type | Description | Notes
  467. ------------- | ------------- | ------------- | -------------
  468. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  469. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  470. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  471. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  472. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  473. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  474. **owner** | **String**| owner of the repo |
  475. **repo** | **String**| name of the repo |
  476. **index** | **i64**| index of the issue |
  477. **user** | **String**| user witch unsubscribe |
  478. ### Return type
  479. (empty response body)
  480. ### Authorization
  481. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  482. ### HTTP request headers
  483. - **Content-Type**: application/json
  484. - **Accept**: application/json
  485. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  486. # **issue_delete_time**
  487. > issue_delete_time(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, id)
  488. Delete specific tracked time
  489. ### Required Parameters
  490. Name | Type | Description | Notes
  491. ------------- | ------------- | ------------- | -------------
  492. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  493. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  494. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  495. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  496. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  497. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  498. **owner** | **String**| owner of the repo |
  499. **repo** | **String**| name of the repo |
  500. **index** | **i64**| index of the issue |
  501. **id** | **i64**| id of time to delete |
  502. ### Return type
  503. (empty response body)
  504. ### Authorization
  505. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  506. ### HTTP request headers
  507. - **Content-Type**: application/json
  508. - **Accept**: application/json
  509. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  510. # **issue_edit_comment**
  511. > ::models::Comment issue_edit_comment(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional)
  512. Edit a comment
  513. ### Required Parameters
  514. Name | Type | Description | Notes
  515. ------------- | ------------- | ------------- | -------------
  516. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  517. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  518. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  519. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  520. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  521. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  522. **owner** | **String**| owner of the repo |
  523. **repo** | **String**| name of the repo |
  524. **id** | **i64**| id of the comment to edit |
  525. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  526. ### Optional Parameters
  527. Optional parameters are passed through a map[string]interface{}.
  528. Name | Type | Description | Notes
  529. ------------- | ------------- | ------------- | -------------
  530. **owner** | **String**| owner of the repo |
  531. **repo** | **String**| name of the repo |
  532. **id** | **i64**| id of the comment to edit |
  533. **body** | [**EditIssueCommentOption**](EditIssueCommentOption.md)| |
  534. ### Return type
  535. [**::models::Comment**](Comment.md)
  536. ### Authorization
  537. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  538. ### HTTP request headers
  539. - **Content-Type**: application/json
  540. - **Accept**: application/json
  541. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  542. # **issue_edit_comment_deprecated**
  543. > ::models::Comment issue_edit_comment_deprecated(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, id, optional)
  544. Edit a comment
  545. ### Required Parameters
  546. Name | Type | Description | Notes
  547. ------------- | ------------- | ------------- | -------------
  548. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  549. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  550. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  551. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  552. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  553. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  554. **owner** | **String**| owner of the repo |
  555. **repo** | **String**| name of the repo |
  556. **index** | **i32**| this parameter is ignored |
  557. **id** | **i64**| id of the comment to edit |
  558. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  559. ### Optional Parameters
  560. Optional parameters are passed through a map[string]interface{}.
  561. Name | Type | Description | Notes
  562. ------------- | ------------- | ------------- | -------------
  563. **owner** | **String**| owner of the repo |
  564. **repo** | **String**| name of the repo |
  565. **index** | **i32**| this parameter is ignored |
  566. **id** | **i64**| id of the comment to edit |
  567. **body** | [**EditIssueCommentOption**](EditIssueCommentOption.md)| |
  568. ### Return type
  569. [**::models::Comment**](Comment.md)
  570. ### Authorization
  571. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  572. ### HTTP request headers
  573. - **Content-Type**: application/json
  574. - **Accept**: application/json
  575. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  576. # **issue_edit_issue**
  577. > ::models::Issue issue_edit_issue(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
  578. Edit an issue. If using deadline only the date will be taken into account, and time of day ignored.
  579. ### Required Parameters
  580. Name | Type | Description | Notes
  581. ------------- | ------------- | ------------- | -------------
  582. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  583. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  584. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  585. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  586. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  587. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  588. **owner** | **String**| owner of the repo |
  589. **repo** | **String**| name of the repo |
  590. **index** | **i64**| index of the issue to edit |
  591. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  592. ### Optional Parameters
  593. Optional parameters are passed through a map[string]interface{}.
  594. Name | Type | Description | Notes
  595. ------------- | ------------- | ------------- | -------------
  596. **owner** | **String**| owner of the repo |
  597. **repo** | **String**| name of the repo |
  598. **index** | **i64**| index of the issue to edit |
  599. **body** | [**EditIssueOption**](EditIssueOption.md)| |
  600. ### Return type
  601. [**::models::Issue**](Issue.md)
  602. ### Authorization
  603. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  604. ### HTTP request headers
  605. - **Content-Type**: application/json
  606. - **Accept**: application/json
  607. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  608. # **issue_edit_issue_deadline**
  609. > ::models::IssueDeadline issue_edit_issue_deadline(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
  610. Set an issue deadline. If set to null, the deadline is deleted. If using deadline only the date will be taken into account, and time of day ignored.
  611. ### Required Parameters
  612. Name | Type | Description | Notes
  613. ------------- | ------------- | ------------- | -------------
  614. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  615. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  616. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  617. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  618. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  619. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  620. **owner** | **String**| owner of the repo |
  621. **repo** | **String**| name of the repo |
  622. **index** | **i64**| index of the issue to create or update a deadline on |
  623. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  624. ### Optional Parameters
  625. Optional parameters are passed through a map[string]interface{}.
  626. Name | Type | Description | Notes
  627. ------------- | ------------- | ------------- | -------------
  628. **owner** | **String**| owner of the repo |
  629. **repo** | **String**| name of the repo |
  630. **index** | **i64**| index of the issue to create or update a deadline on |
  631. **body** | [**EditDeadlineOption**](EditDeadlineOption.md)| |
  632. ### Return type
  633. [**::models::IssueDeadline**](IssueDeadline.md)
  634. ### Authorization
  635. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  636. ### HTTP request headers
  637. - **Content-Type**: application/json
  638. - **Accept**: application/json
  639. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  640. # **issue_edit_label**
  641. > ::models::Label issue_edit_label(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional)
  642. Update a label
  643. ### Required Parameters
  644. Name | Type | Description | Notes
  645. ------------- | ------------- | ------------- | -------------
  646. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  647. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  648. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  649. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  650. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  651. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  652. **owner** | **String**| owner of the repo |
  653. **repo** | **String**| name of the repo |
  654. **id** | **i64**| id of the label to edit |
  655. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  656. ### Optional Parameters
  657. Optional parameters are passed through a map[string]interface{}.
  658. Name | Type | Description | Notes
  659. ------------- | ------------- | ------------- | -------------
  660. **owner** | **String**| owner of the repo |
  661. **repo** | **String**| name of the repo |
  662. **id** | **i64**| id of the label to edit |
  663. **body** | [**EditLabelOption**](EditLabelOption.md)| |
  664. ### Return type
  665. [**::models::Label**](Label.md)
  666. ### Authorization
  667. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  668. ### HTTP request headers
  669. - **Content-Type**: application/json
  670. - **Accept**: application/json
  671. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  672. # **issue_edit_milestone**
  673. > ::models::Milestone issue_edit_milestone(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional)
  674. Update a milestone
  675. ### Required Parameters
  676. Name | Type | Description | Notes
  677. ------------- | ------------- | ------------- | -------------
  678. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  679. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  680. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  681. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  682. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  683. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  684. **owner** | **String**| owner of the repo |
  685. **repo** | **String**| name of the repo |
  686. **id** | **i64**| id of the milestone |
  687. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  688. ### Optional Parameters
  689. Optional parameters are passed through a map[string]interface{}.
  690. Name | Type | Description | Notes
  691. ------------- | ------------- | ------------- | -------------
  692. **owner** | **String**| owner of the repo |
  693. **repo** | **String**| name of the repo |
  694. **id** | **i64**| id of the milestone |
  695. **body** | [**EditMilestoneOption**](EditMilestoneOption.md)| |
  696. ### Return type
  697. [**::models::Milestone**](Milestone.md)
  698. ### Authorization
  699. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  700. ### HTTP request headers
  701. - **Content-Type**: application/json
  702. - **Accept**: application/json
  703. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  704. # **issue_get_comment_reactions**
  705. > Vec<::models::Reaction> issue_get_comment_reactions(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
  706. Get a list of reactions from a comment of an issue
  707. ### Required Parameters
  708. Name | Type | Description | Notes
  709. ------------- | ------------- | ------------- | -------------
  710. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  711. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  712. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  713. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  714. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  715. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  716. **owner** | **String**| owner of the repo |
  717. **repo** | **String**| name of the repo |
  718. **id** | **i64**| id of the comment to edit |
  719. ### Return type
  720. [**Vec<::models::Reaction>**](Reaction.md)
  721. ### Authorization
  722. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  723. ### HTTP request headers
  724. - **Content-Type**: application/json
  725. - **Accept**: application/json
  726. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  727. # **issue_get_comments**
  728. > Vec<::models::Comment> issue_get_comments(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
  729. List all comments on an issue
  730. ### Required Parameters
  731. Name | Type | Description | Notes
  732. ------------- | ------------- | ------------- | -------------
  733. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  734. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  735. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  736. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  737. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  738. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  739. **owner** | **String**| owner of the repo |
  740. **repo** | **String**| name of the repo |
  741. **index** | **i64**| index of the issue |
  742. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  743. ### Optional Parameters
  744. Optional parameters are passed through a map[string]interface{}.
  745. Name | Type | Description | Notes
  746. ------------- | ------------- | ------------- | -------------
  747. **owner** | **String**| owner of the repo |
  748. **repo** | **String**| name of the repo |
  749. **index** | **i64**| index of the issue |
  750. **since** | **String**| if provided, only comments updated since the specified time are returned. |
  751. ### Return type
  752. [**Vec<::models::Comment>**](Comment.md)
  753. ### Authorization
  754. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  755. ### HTTP request headers
  756. - **Content-Type**: application/json, text/plain
  757. - **Accept**: application/json
  758. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  759. # **issue_get_issue**
  760. > ::models::Issue issue_get_issue(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
  761. Get an issue
  762. ### Required Parameters
  763. Name | Type | Description | Notes
  764. ------------- | ------------- | ------------- | -------------
  765. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  766. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  767. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  768. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  769. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  770. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  771. **owner** | **String**| owner of the repo |
  772. **repo** | **String**| name of the repo |
  773. **index** | **i64**| index of the issue to get |
  774. ### Return type
  775. [**::models::Issue**](Issue.md)
  776. ### Authorization
  777. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  778. ### HTTP request headers
  779. - **Content-Type**: application/json, text/plain
  780. - **Accept**: application/json
  781. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  782. # **issue_get_issue_reactions**
  783. > Vec<::models::Reaction> issue_get_issue_reactions(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
  784. Get a list reactions of an issue
  785. ### Required Parameters
  786. Name | Type | Description | Notes
  787. ------------- | ------------- | ------------- | -------------
  788. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  789. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  790. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  791. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  792. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  793. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  794. **owner** | **String**| owner of the repo |
  795. **repo** | **String**| name of the repo |
  796. **index** | **i64**| index of the issue |
  797. ### Return type
  798. [**Vec<::models::Reaction>**](Reaction.md)
  799. ### Authorization
  800. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  801. ### HTTP request headers
  802. - **Content-Type**: application/json
  803. - **Accept**: application/json
  804. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  805. # **issue_get_label**
  806. > ::models::Label issue_get_label(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
  807. Get a single label
  808. ### Required Parameters
  809. Name | Type | Description | Notes
  810. ------------- | ------------- | ------------- | -------------
  811. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  812. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  813. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  814. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  815. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  816. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  817. **owner** | **String**| owner of the repo |
  818. **repo** | **String**| name of the repo |
  819. **id** | **i64**| id of the label to get |
  820. ### Return type
  821. [**::models::Label**](Label.md)
  822. ### Authorization
  823. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  824. ### HTTP request headers
  825. - **Content-Type**: application/json, text/plain
  826. - **Accept**: application/json
  827. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  828. # **issue_get_labels**
  829. > Vec<::models::Label> issue_get_labels(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
  830. Get an issue's labels
  831. ### Required Parameters
  832. Name | Type | Description | Notes
  833. ------------- | ------------- | ------------- | -------------
  834. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  835. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  836. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  837. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  838. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  839. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  840. **owner** | **String**| owner of the repo |
  841. **repo** | **String**| name of the repo |
  842. **index** | **i64**| index of the issue |
  843. ### Return type
  844. [**Vec<::models::Label>**](Label.md)
  845. ### Authorization
  846. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  847. ### HTTP request headers
  848. - **Content-Type**: application/json, text/plain
  849. - **Accept**: application/json
  850. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  851. # **issue_get_milestone**
  852. > ::models::Milestone issue_get_milestone(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id)
  853. Get a milestone
  854. ### Required Parameters
  855. Name | Type | Description | Notes
  856. ------------- | ------------- | ------------- | -------------
  857. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  858. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  859. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  860. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  861. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  862. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  863. **owner** | **String**| owner of the repo |
  864. **repo** | **String**| name of the repo |
  865. **id** | **i64**| id of the milestone |
  866. ### Return type
  867. [**::models::Milestone**](Milestone.md)
  868. ### Authorization
  869. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  870. ### HTTP request headers
  871. - **Content-Type**: application/json, text/plain
  872. - **Accept**: application/json
  873. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  874. # **issue_get_milestones_list**
  875. > Vec<::models::Milestone> issue_get_milestones_list(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
  876. Get all of a repository's opened milestones
  877. ### Required Parameters
  878. Name | Type | Description | Notes
  879. ------------- | ------------- | ------------- | -------------
  880. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  881. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  882. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  883. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  884. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  885. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  886. **owner** | **String**| owner of the repo |
  887. **repo** | **String**| name of the repo |
  888. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  889. ### Optional Parameters
  890. Optional parameters are passed through a map[string]interface{}.
  891. Name | Type | Description | Notes
  892. ------------- | ------------- | ------------- | -------------
  893. **owner** | **String**| owner of the repo |
  894. **repo** | **String**| name of the repo |
  895. **state** | **String**| Milestone state, Recognised values are open, closed and all. Defaults to \&quot;open\&quot; |
  896. ### Return type
  897. [**Vec<::models::Milestone>**](Milestone.md)
  898. ### Authorization
  899. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  900. ### HTTP request headers
  901. - **Content-Type**: application/json, text/plain
  902. - **Accept**: application/json
  903. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  904. # **issue_get_repo_comments**
  905. > Vec<::models::Comment> issue_get_repo_comments(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
  906. List all comments in a repository
  907. ### Required Parameters
  908. Name | Type | Description | Notes
  909. ------------- | ------------- | ------------- | -------------
  910. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  911. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  912. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  913. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  914. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  915. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  916. **owner** | **String**| owner of the repo |
  917. **repo** | **String**| name of the repo |
  918. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  919. ### Optional Parameters
  920. Optional parameters are passed through a map[string]interface{}.
  921. Name | Type | Description | Notes
  922. ------------- | ------------- | ------------- | -------------
  923. **owner** | **String**| owner of the repo |
  924. **repo** | **String**| name of the repo |
  925. **since** | **String**| if provided, only comments updated since the provided time are returned. |
  926. ### Return type
  927. [**Vec<::models::Comment>**](Comment.md)
  928. ### Authorization
  929. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  930. ### HTTP request headers
  931. - **Content-Type**: application/json, text/plain
  932. - **Accept**: application/json
  933. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  934. # **issue_list_issues**
  935. > Vec<::models::Issue> issue_list_issues(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, optional)
  936. List a repository's issues
  937. ### Required Parameters
  938. Name | Type | Description | Notes
  939. ------------- | ------------- | ------------- | -------------
  940. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  941. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  942. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  943. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  944. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  945. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  946. **owner** | **String**| owner of the repo |
  947. **repo** | **String**| name of the repo |
  948. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  949. ### Optional Parameters
  950. Optional parameters are passed through a map[string]interface{}.
  951. Name | Type | Description | Notes
  952. ------------- | ------------- | ------------- | -------------
  953. **owner** | **String**| owner of the repo |
  954. **repo** | **String**| name of the repo |
  955. **state** | **String**| whether issue is open or closed |
  956. **labels** | **String**| comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded |
  957. **page** | **i32**| page number of requested issues |
  958. **q** | **String**| search string |
  959. **_type** | **String**| filter by type (issues / pulls) if set |
  960. ### Return type
  961. [**Vec<::models::Issue>**](Issue.md)
  962. ### Authorization
  963. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  964. ### HTTP request headers
  965. - **Content-Type**: application/json, text/plain
  966. - **Accept**: application/json
  967. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  968. # **issue_list_labels**
  969. > Vec<::models::Label> issue_list_labels(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo)
  970. Get all of a repository's labels
  971. ### Required Parameters
  972. Name | Type | Description | Notes
  973. ------------- | ------------- | ------------- | -------------
  974. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  975. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  976. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  977. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  978. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  979. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  980. **owner** | **String**| owner of the repo |
  981. **repo** | **String**| name of the repo |
  982. ### Return type
  983. [**Vec<::models::Label>**](Label.md)
  984. ### Authorization
  985. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  986. ### HTTP request headers
  987. - **Content-Type**: application/json, text/plain
  988. - **Accept**: application/json
  989. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  990. # **issue_post_comment_reaction**
  991. > ::models::Reaction issue_post_comment_reaction(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, id, optional)
  992. Add a reaction to a comment of an issue
  993. ### Required Parameters
  994. Name | Type | Description | Notes
  995. ------------- | ------------- | ------------- | -------------
  996. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  997. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  998. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  999. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1000. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1001. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1002. **owner** | **String**| owner of the repo |
  1003. **repo** | **String**| name of the repo |
  1004. **id** | **i64**| id of the comment to edit |
  1005. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  1006. ### Optional Parameters
  1007. Optional parameters are passed through a map[string]interface{}.
  1008. Name | Type | Description | Notes
  1009. ------------- | ------------- | ------------- | -------------
  1010. **owner** | **String**| owner of the repo |
  1011. **repo** | **String**| name of the repo |
  1012. **id** | **i64**| id of the comment to edit |
  1013. **content** | [**EditReactionOption**](EditReactionOption.md)| |
  1014. ### Return type
  1015. [**::models::Reaction**](Reaction.md)
  1016. ### Authorization
  1017. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  1018. ### HTTP request headers
  1019. - **Content-Type**: application/json
  1020. - **Accept**: application/json
  1021. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  1022. # **issue_post_issue_reaction**
  1023. > ::models::Reaction issue_post_issue_reaction(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
  1024. Add a reaction to an issue
  1025. ### Required Parameters
  1026. Name | Type | Description | Notes
  1027. ------------- | ------------- | ------------- | -------------
  1028. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1029. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1030. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1031. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1032. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1033. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1034. **owner** | **String**| owner of the repo |
  1035. **repo** | **String**| name of the repo |
  1036. **index** | **i64**| index of the issue |
  1037. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  1038. ### Optional Parameters
  1039. Optional parameters are passed through a map[string]interface{}.
  1040. Name | Type | Description | Notes
  1041. ------------- | ------------- | ------------- | -------------
  1042. **owner** | **String**| owner of the repo |
  1043. **repo** | **String**| name of the repo |
  1044. **index** | **i64**| index of the issue |
  1045. **content** | [**EditReactionOption**](EditReactionOption.md)| |
  1046. ### Return type
  1047. [**::models::Reaction**](Reaction.md)
  1048. ### Authorization
  1049. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  1050. ### HTTP request headers
  1051. - **Content-Type**: application/json
  1052. - **Accept**: application/json
  1053. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  1054. # **issue_remove_label**
  1055. > issue_remove_label(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, id)
  1056. Remove a label from an issue
  1057. ### Required Parameters
  1058. Name | Type | Description | Notes
  1059. ------------- | ------------- | ------------- | -------------
  1060. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1061. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1062. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1063. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1064. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1065. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1066. **owner** | **String**| owner of the repo |
  1067. **repo** | **String**| name of the repo |
  1068. **index** | **i64**| index of the issue |
  1069. **id** | **i64**| id of the label to remove |
  1070. ### Return type
  1071. (empty response body)
  1072. ### Authorization
  1073. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  1074. ### HTTP request headers
  1075. - **Content-Type**: application/json, text/plain
  1076. - **Accept**: application/json
  1077. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  1078. # **issue_replace_labels**
  1079. > Vec<::models::Label> issue_replace_labels(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index, optional)
  1080. Replace an issue's labels
  1081. ### Required Parameters
  1082. Name | Type | Description | Notes
  1083. ------------- | ------------- | ------------- | -------------
  1084. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1085. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1086. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1087. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1088. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1089. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1090. **owner** | **String**| owner of the repo |
  1091. **repo** | **String**| name of the repo |
  1092. **index** | **i64**| index of the issue |
  1093. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  1094. ### Optional Parameters
  1095. Optional parameters are passed through a map[string]interface{}.
  1096. Name | Type | Description | Notes
  1097. ------------- | ------------- | ------------- | -------------
  1098. **owner** | **String**| owner of the repo |
  1099. **repo** | **String**| name of the repo |
  1100. **index** | **i64**| index of the issue |
  1101. **body** | [**IssueLabelsOption**](IssueLabelsOption.md)| |
  1102. ### Return type
  1103. [**Vec<::models::Label>**](Label.md)
  1104. ### Authorization
  1105. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  1106. ### HTTP request headers
  1107. - **Content-Type**: application/json
  1108. - **Accept**: application/json
  1109. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  1110. # **issue_reset_time**
  1111. > issue_reset_time(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
  1112. Reset a tracked time of an issue
  1113. ### Required Parameters
  1114. Name | Type | Description | Notes
  1115. ------------- | ------------- | ------------- | -------------
  1116. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1117. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1118. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1119. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1120. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1121. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1122. **owner** | **String**| owner of the repo |
  1123. **repo** | **String**| name of the repo |
  1124. **index** | **i64**| index of the issue to add tracked time to |
  1125. ### Return type
  1126. (empty response body)
  1127. ### Authorization
  1128. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  1129. ### HTTP request headers
  1130. - **Content-Type**: application/json
  1131. - **Accept**: application/json
  1132. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  1133. # **issue_search_issues**
  1134. > Vec<::models::Issue> issue_search_issues(ctx, ctx, ctx, ctx, ctx, ctx, optional)
  1135. Search for issues across the repositories that the user has access to
  1136. ### Required Parameters
  1137. Name | Type | Description | Notes
  1138. ------------- | ------------- | ------------- | -------------
  1139. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1140. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1141. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1142. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1143. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1144. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1145. **optional** | **map[string]interface{}** | optional parameters | nil if no parameters
  1146. ### Optional Parameters
  1147. Optional parameters are passed through a map[string]interface{}.
  1148. Name | Type | Description | Notes
  1149. ------------- | ------------- | ------------- | -------------
  1150. **state** | **String**| whether issue is open or closed |
  1151. **labels** | **String**| comma separated list of labels. Fetch only issues that have any of this labels. Non existent labels are discarded |
  1152. **page** | **i32**| page number of requested issues |
  1153. **q** | **String**| search string |
  1154. **priority_repo_id** | **i64**| repository to prioritize in the results |
  1155. **_type** | **String**| filter by type (issues / pulls) if set |
  1156. ### Return type
  1157. [**Vec<::models::Issue>**](Issue.md)
  1158. ### Authorization
  1159. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  1160. ### HTTP request headers
  1161. - **Content-Type**: application/json, text/plain
  1162. - **Accept**: application/json
  1163. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  1164. # **issue_start_stop_watch**
  1165. > issue_start_stop_watch(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
  1166. Start stopwatch on an issue.
  1167. ### Required Parameters
  1168. Name | Type | Description | Notes
  1169. ------------- | ------------- | ------------- | -------------
  1170. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1171. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1172. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1173. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1174. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1175. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1176. **owner** | **String**| owner of the repo |
  1177. **repo** | **String**| name of the repo |
  1178. **index** | **i64**| index of the issue to create the stopwatch on |
  1179. ### Return type
  1180. (empty response body)
  1181. ### Authorization
  1182. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  1183. ### HTTP request headers
  1184. - **Content-Type**: application/json
  1185. - **Accept**: application/json
  1186. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  1187. # **issue_stop_stop_watch**
  1188. > issue_stop_stop_watch(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
  1189. Stop an issue's existing stopwatch.
  1190. ### Required Parameters
  1191. Name | Type | Description | Notes
  1192. ------------- | ------------- | ------------- | -------------
  1193. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1194. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1195. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1196. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1197. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1198. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1199. **owner** | **String**| owner of the repo |
  1200. **repo** | **String**| name of the repo |
  1201. **index** | **i64**| index of the issue to stop the stopwatch on |
  1202. ### Return type
  1203. (empty response body)
  1204. ### Authorization
  1205. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  1206. ### HTTP request headers
  1207. - **Content-Type**: application/json
  1208. - **Accept**: application/json
  1209. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  1210. # **issue_subscriptions**
  1211. > Vec<::models::User> issue_subscriptions(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
  1212. Get users who subscribed on an issue.
  1213. ### Required Parameters
  1214. Name | Type | Description | Notes
  1215. ------------- | ------------- | ------------- | -------------
  1216. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1217. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1218. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1219. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1220. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1221. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1222. **owner** | **String**| owner of the repo |
  1223. **repo** | **String**| name of the repo |
  1224. **index** | **i64**| index of the issue |
  1225. ### Return type
  1226. [**Vec<::models::User>**](User.md)
  1227. ### Authorization
  1228. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  1229. ### HTTP request headers
  1230. - **Content-Type**: application/json
  1231. - **Accept**: application/json
  1232. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)
  1233. # **issue_tracked_times**
  1234. > Vec<::models::TrackedTime> issue_tracked_times(ctx, ctx, ctx, ctx, ctx, ctx, owner, repo, index)
  1235. List an issue's tracked times
  1236. ### Required Parameters
  1237. Name | Type | Description | Notes
  1238. ------------- | ------------- | ------------- | -------------
  1239. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1240. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1241. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1242. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1243. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1244. **ctx** | **context.Context** | context containing the authentication | nil if no authentication
  1245. **owner** | **String**| owner of the repo |
  1246. **repo** | **String**| name of the repo |
  1247. **index** | **i64**| index of the issue |
  1248. ### Return type
  1249. [**Vec<::models::TrackedTime>**](TrackedTime.md)
  1250. ### Authorization
  1251. [AccessToken](../README.md#AccessToken), [AuthorizationHeaderToken](../README.md#AuthorizationHeaderToken), [BasicAuth](../README.md#BasicAuth), [SudoHeader](../README.md#SudoHeader), [SudoParam](../README.md#SudoParam), [Token](../README.md#Token)
  1252. ### HTTP request headers
  1253. - **Content-Type**: application/json, text/plain
  1254. - **Accept**: application/json
  1255. [[Back to top]](#) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to Model list]](../README.md#documentation-for-models) [[Back to README]](../README.md)