gitee.com/openeuler/go-gitee@v0.0.0-20220530104019-3af895bc380c/docs/IssuesApi.md (about)

     1  # \IssuesApi
     2  
     3  All URIs are relative to *https://gitee.com/api*
     4  
     5  Method | HTTP request | Description
     6  ------------- | ------------- | -------------
     7  [**DeleteV5ReposOwnerRepoIssuesCommentsId**](IssuesApi.md#DeleteV5ReposOwnerRepoIssuesCommentsId) | **Delete** /v5/repos/{owner}/{repo}/issues/comments/{id} | 删除Issue某条评论
     8  [**GetV5EnterprisesEnterpriseIssues**](IssuesApi.md#GetV5EnterprisesEnterpriseIssues) | **Get** /v5/enterprises/{enterprise}/issues | 获取某个企业的所有Issues
     9  [**GetV5EnterprisesEnterpriseIssuesNumber**](IssuesApi.md#GetV5EnterprisesEnterpriseIssuesNumber) | **Get** /v5/enterprises/{enterprise}/issues/{number} | 获取企业的某个Issue
    10  [**GetV5EnterprisesEnterpriseIssuesNumberComments**](IssuesApi.md#GetV5EnterprisesEnterpriseIssuesNumberComments) | **Get** /v5/enterprises/{enterprise}/issues/{number}/comments | 获取企业某个Issue所有评论
    11  [**GetV5EnterprisesEnterpriseIssuesNumberLabels**](IssuesApi.md#GetV5EnterprisesEnterpriseIssuesNumberLabels) | **Get** /v5/enterprises/{enterprise}/issues/{number}/labels | 获取企业某个Issue所有标签
    12  [**GetV5Issues**](IssuesApi.md#GetV5Issues) | **Get** /v5/issues | 获取当前授权用户的所有Issues
    13  [**GetV5OrgsOrgIssues**](IssuesApi.md#GetV5OrgsOrgIssues) | **Get** /v5/orgs/{org}/issues | 获取当前用户某个组织的Issues
    14  [**GetV5ReposOwnerIssuesNumberOperateLogs**](IssuesApi.md#GetV5ReposOwnerIssuesNumberOperateLogs) | **Get** /v5/repos/{owner}/issues/{number}/operate_logs | 获取某个Issue下的操作日志
    15  [**GetV5ReposOwnerRepoIssues**](IssuesApi.md#GetV5ReposOwnerRepoIssues) | **Get** /v5/repos/{owner}/{repo}/issues | 仓库的所有Issues
    16  [**GetV5ReposOwnerRepoIssuesComments**](IssuesApi.md#GetV5ReposOwnerRepoIssuesComments) | **Get** /v5/repos/{owner}/{repo}/issues/comments | 获取仓库所有Issue的评论
    17  [**GetV5ReposOwnerRepoIssuesCommentsId**](IssuesApi.md#GetV5ReposOwnerRepoIssuesCommentsId) | **Get** /v5/repos/{owner}/{repo}/issues/comments/{id} | 获取仓库Issue某条评论
    18  [**GetV5ReposOwnerRepoIssuesNumber**](IssuesApi.md#GetV5ReposOwnerRepoIssuesNumber) | **Get** /v5/repos/{owner}/{repo}/issues/{number} | 仓库的某个Issue
    19  [**GetV5ReposOwnerRepoIssuesNumberComments**](IssuesApi.md#GetV5ReposOwnerRepoIssuesNumberComments) | **Get** /v5/repos/{owner}/{repo}/issues/{number}/comments | 获取仓库某个Issue所有的评论
    20  [**GetV5UserIssues**](IssuesApi.md#GetV5UserIssues) | **Get** /v5/user/issues | 获取授权用户的所有Issues
    21  [**PatchV5ReposOwnerIssuesNumber**](IssuesApi.md#PatchV5ReposOwnerIssuesNumber) | **Patch** /v5/repos/{owner}/issues/{number} | 更新Issue
    22  [**PatchV5ReposOwnerRepoIssuesCommentsId**](IssuesApi.md#PatchV5ReposOwnerRepoIssuesCommentsId) | **Patch** /v5/repos/{owner}/{repo}/issues/comments/{id} | 更新Issue某条评论
    23  [**PostV5ReposOwnerIssues**](IssuesApi.md#PostV5ReposOwnerIssues) | **Post** /v5/repos/{owner}/issues | 创建Issue
    24  [**PostV5ReposOwnerRepoIssuesNumberComments**](IssuesApi.md#PostV5ReposOwnerRepoIssuesNumberComments) | **Post** /v5/repos/{owner}/{repo}/issues/{number}/comments | 创建某个Issue评论
    25  
    26  
    27  # **DeleteV5ReposOwnerRepoIssuesCommentsId**
    28  > DeleteV5ReposOwnerRepoIssuesCommentsId(ctx, owner, repo, id, optional)
    29  删除Issue某条评论
    30  
    31  删除Issue某条评论
    32  
    33  ### Required Parameters
    34  
    35  Name | Type | Description  | Notes
    36  ------------- | ------------- | ------------- | -------------
    37   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    38    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
    39    **repo** | **string**| 仓库路径(path) | 
    40    **id** | **int32**| 评论的ID | 
    41   **optional** | ***DeleteV5ReposOwnerRepoIssuesCommentsIdOpts** | optional parameters | nil if no parameters
    42  
    43  ### Optional Parameters
    44  Optional parameters are passed through a pointer to a DeleteV5ReposOwnerRepoIssuesCommentsIdOpts struct
    45  
    46  Name | Type | Description  | Notes
    47  ------------- | ------------- | ------------- | -------------
    48  
    49  
    50  
    51   **accessToken** | **optional.String**| 用户授权码 | 
    52  
    53  ### Return type
    54  
    55   (empty response body)
    56  
    57  ### Authorization
    58  
    59  No authorization required
    60  
    61  ### HTTP request headers
    62  
    63   - **Content-Type**: application/json, multipart/form-data
    64   - **Accept**: application/json
    65  
    66  [[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)
    67  
    68  # **GetV5EnterprisesEnterpriseIssues**
    69  > []Issue GetV5EnterprisesEnterpriseIssues(ctx, enterprise, optional)
    70  获取某个企业的所有Issues
    71  
    72  获取某个企业的所有Issues
    73  
    74  ### Required Parameters
    75  
    76  Name | Type | Description  | Notes
    77  ------------- | ------------- | ------------- | -------------
    78   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
    79    **enterprise** | **string**| 企业的路径(path/login) | 
    80   **optional** | ***GetV5EnterprisesEnterpriseIssuesOpts** | optional parameters | nil if no parameters
    81  
    82  ### Optional Parameters
    83  Optional parameters are passed through a pointer to a GetV5EnterprisesEnterpriseIssuesOpts struct
    84  
    85  Name | Type | Description  | Notes
    86  ------------- | ------------- | ------------- | -------------
    87  
    88   **accessToken** | **optional.String**| 用户授权码 | 
    89   **state** | **optional.String**| Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open | [default to open]
    90   **labels** | **optional.String**| 用逗号分开的标签。如: bug,performance | 
    91   **sort** | **optional.String**| 排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at | [default to created]
    92   **direction** | **optional.String**| 排序方式: 升序(asc),降序(desc)。默认: desc | [default to desc]
    93   **since** | **optional.String**| 起始的更新时间,要求时间格式为 ISO 8601 | 
    94   **page** | **optional.Int32**| 当前的页码 | [default to 1]
    95   **perPage** | **optional.Int32**| 每页的数量,最大为 100 | [default to 20]
    96   **schedule** | **optional.String**| 计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80 | 
    97   **deadline** | **optional.String**| 计划截止日期,格式同上 | 
    98   **createdAt** | **optional.String**| 任务创建时间,格式同上 | 
    99   **finishedAt** | **optional.String**| 任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上 | 
   100   **milestone** | **optional.String**| 根据里程碑标题。none为没里程碑的,*为所有带里程碑的 | 
   101   **assignee** | **optional.String**| 用户的username。 none为没指派者, *为所有带有指派者的 | 
   102   **creator** | **optional.String**| 创建Issues的用户username | 
   103   **program** | **optional.String**| 所属项目名称。none为没所属有项目的,*为所有带所属项目的 | 
   104  
   105  ### Return type
   106  
   107  [**[]Issue**](Issue.md)
   108  
   109  ### Authorization
   110  
   111  No authorization required
   112  
   113  ### HTTP request headers
   114  
   115   - **Content-Type**: application/json, multipart/form-data
   116   - **Accept**: application/json
   117  
   118  [[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)
   119  
   120  # **GetV5EnterprisesEnterpriseIssuesNumber**
   121  > Issue GetV5EnterprisesEnterpriseIssuesNumber(ctx, enterprise, number, optional)
   122  获取企业的某个Issue
   123  
   124  获取企业的某个Issue
   125  
   126  ### Required Parameters
   127  
   128  Name | Type | Description  | Notes
   129  ------------- | ------------- | ------------- | -------------
   130   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   131    **enterprise** | **string**| 企业的路径(path/login) | 
   132    **number** | **string**| Issue 编号(区分大小写,无需添加 # 号) | 
   133   **optional** | ***GetV5EnterprisesEnterpriseIssuesNumberOpts** | optional parameters | nil if no parameters
   134  
   135  ### Optional Parameters
   136  Optional parameters are passed through a pointer to a GetV5EnterprisesEnterpriseIssuesNumberOpts struct
   137  
   138  Name | Type | Description  | Notes
   139  ------------- | ------------- | ------------- | -------------
   140  
   141  
   142   **accessToken** | **optional.String**| 用户授权码 | 
   143  
   144  ### Return type
   145  
   146  [**Issue**](Issue.md)
   147  
   148  ### Authorization
   149  
   150  No authorization required
   151  
   152  ### HTTP request headers
   153  
   154   - **Content-Type**: application/json, multipart/form-data
   155   - **Accept**: application/json
   156  
   157  [[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)
   158  
   159  # **GetV5EnterprisesEnterpriseIssuesNumberComments**
   160  > []Note GetV5EnterprisesEnterpriseIssuesNumberComments(ctx, enterprise, number, optional)
   161  获取企业某个Issue所有评论
   162  
   163  获取企业某个Issue所有评论
   164  
   165  ### Required Parameters
   166  
   167  Name | Type | Description  | Notes
   168  ------------- | ------------- | ------------- | -------------
   169   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   170    **enterprise** | **string**| 企业的路径(path/login) | 
   171    **number** | **string**| Issue 编号(区分大小写,无需添加 # 号) | 
   172   **optional** | ***GetV5EnterprisesEnterpriseIssuesNumberCommentsOpts** | optional parameters | nil if no parameters
   173  
   174  ### Optional Parameters
   175  Optional parameters are passed through a pointer to a GetV5EnterprisesEnterpriseIssuesNumberCommentsOpts struct
   176  
   177  Name | Type | Description  | Notes
   178  ------------- | ------------- | ------------- | -------------
   179  
   180  
   181   **accessToken** | **optional.String**| 用户授权码 | 
   182   **page** | **optional.Int32**| 当前的页码 | [default to 1]
   183   **perPage** | **optional.Int32**| 每页的数量,最大为 100 | [default to 20]
   184  
   185  ### Return type
   186  
   187  [**[]Note**](Note.md)
   188  
   189  ### Authorization
   190  
   191  No authorization required
   192  
   193  ### HTTP request headers
   194  
   195   - **Content-Type**: application/json, multipart/form-data
   196   - **Accept**: application/json
   197  
   198  [[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)
   199  
   200  # **GetV5EnterprisesEnterpriseIssuesNumberLabels**
   201  > []Label GetV5EnterprisesEnterpriseIssuesNumberLabels(ctx, enterprise, number, optional)
   202  获取企业某个Issue所有标签
   203  
   204  获取企业某个Issue所有标签
   205  
   206  ### Required Parameters
   207  
   208  Name | Type | Description  | Notes
   209  ------------- | ------------- | ------------- | -------------
   210   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   211    **enterprise** | **string**| 企业的路径(path/login) | 
   212    **number** | **string**| Issue 编号(区分大小写,无需添加 # 号) | 
   213   **optional** | ***GetV5EnterprisesEnterpriseIssuesNumberLabelsOpts** | optional parameters | nil if no parameters
   214  
   215  ### Optional Parameters
   216  Optional parameters are passed through a pointer to a GetV5EnterprisesEnterpriseIssuesNumberLabelsOpts struct
   217  
   218  Name | Type | Description  | Notes
   219  ------------- | ------------- | ------------- | -------------
   220  
   221  
   222   **accessToken** | **optional.String**| 用户授权码 | 
   223   **page** | **optional.Int32**| 当前的页码 | [default to 1]
   224   **perPage** | **optional.Int32**| 每页的数量,最大为 100 | [default to 20]
   225  
   226  ### Return type
   227  
   228  [**[]Label**](Label.md)
   229  
   230  ### Authorization
   231  
   232  No authorization required
   233  
   234  ### HTTP request headers
   235  
   236   - **Content-Type**: application/json, multipart/form-data
   237   - **Accept**: application/json
   238  
   239  [[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)
   240  
   241  # **GetV5Issues**
   242  > []Issue GetV5Issues(ctx, optional)
   243  获取当前授权用户的所有Issues
   244  
   245  获取当前授权用户的所有Issues
   246  
   247  ### Required Parameters
   248  
   249  Name | Type | Description  | Notes
   250  ------------- | ------------- | ------------- | -------------
   251   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   252   **optional** | ***GetV5IssuesOpts** | optional parameters | nil if no parameters
   253  
   254  ### Optional Parameters
   255  Optional parameters are passed through a pointer to a GetV5IssuesOpts struct
   256  
   257  Name | Type | Description  | Notes
   258  ------------- | ------------- | ------------- | -------------
   259   **accessToken** | **optional.String**| 用户授权码 | 
   260   **filter** | **optional.String**| 筛选参数: 授权用户负责的(assigned),授权用户创建的(created),包含前两者的(all)。默认: assigned | [default to assigned]
   261   **state** | **optional.String**| Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open | [default to open]
   262   **labels** | **optional.String**| 用逗号分开的标签。如: bug,performance | 
   263   **sort** | **optional.String**| 排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at | [default to created]
   264   **direction** | **optional.String**| 排序方式: 升序(asc),降序(desc)。默认: desc | [default to desc]
   265   **since** | **optional.String**| 起始的更新时间,要求时间格式为 ISO 8601 | 
   266   **page** | **optional.Int32**| 当前的页码 | [default to 1]
   267   **perPage** | **optional.Int32**| 每页的数量,最大为 100 | [default to 20]
   268   **schedule** | **optional.String**| 计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80 | 
   269   **deadline** | **optional.String**| 计划截止日期,格式同上 | 
   270   **createdAt** | **optional.String**| 任务创建时间,格式同上 | 
   271   **finishedAt** | **optional.String**| 任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上 | 
   272  
   273  ### Return type
   274  
   275  [**[]Issue**](Issue.md)
   276  
   277  ### Authorization
   278  
   279  No authorization required
   280  
   281  ### HTTP request headers
   282  
   283   - **Content-Type**: application/json, multipart/form-data
   284   - **Accept**: application/json
   285  
   286  [[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)
   287  
   288  # **GetV5OrgsOrgIssues**
   289  > []Issue GetV5OrgsOrgIssues(ctx, org, optional)
   290  获取当前用户某个组织的Issues
   291  
   292  获取当前用户某个组织的Issues
   293  
   294  ### Required Parameters
   295  
   296  Name | Type | Description  | Notes
   297  ------------- | ------------- | ------------- | -------------
   298   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   299    **org** | **string**| 组织的路径(path/login) | 
   300   **optional** | ***GetV5OrgsOrgIssuesOpts** | optional parameters | nil if no parameters
   301  
   302  ### Optional Parameters
   303  Optional parameters are passed through a pointer to a GetV5OrgsOrgIssuesOpts struct
   304  
   305  Name | Type | Description  | Notes
   306  ------------- | ------------- | ------------- | -------------
   307  
   308   **accessToken** | **optional.String**| 用户授权码 | 
   309   **filter** | **optional.String**| 筛选参数: 授权用户负责的(assigned),授权用户创建的(created),包含前两者的(all)。默认: assigned | [default to assigned]
   310   **state** | **optional.String**| Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open | [default to open]
   311   **labels** | **optional.String**| 用逗号分开的标签。如: bug,performance | 
   312   **sort** | **optional.String**| 排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at | [default to created]
   313   **direction** | **optional.String**| 排序方式: 升序(asc),降序(desc)。默认: desc | [default to desc]
   314   **since** | **optional.String**| 起始的更新时间,要求时间格式为 ISO 8601 | 
   315   **page** | **optional.Int32**| 当前的页码 | [default to 1]
   316   **perPage** | **optional.Int32**| 每页的数量,最大为 100 | [default to 20]
   317   **schedule** | **optional.String**| 计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80 | 
   318   **deadline** | **optional.String**| 计划截止日期,格式同上 | 
   319   **createdAt** | **optional.String**| 任务创建时间,格式同上 | 
   320   **finishedAt** | **optional.String**| 任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上 | 
   321  
   322  ### Return type
   323  
   324  [**[]Issue**](Issue.md)
   325  
   326  ### Authorization
   327  
   328  No authorization required
   329  
   330  ### HTTP request headers
   331  
   332   - **Content-Type**: application/json, multipart/form-data
   333   - **Accept**: application/json
   334  
   335  [[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)
   336  
   337  # **GetV5ReposOwnerIssuesNumberOperateLogs**
   338  > []OperateLog GetV5ReposOwnerIssuesNumberOperateLogs(ctx, owner, number, optional)
   339  获取某个Issue下的操作日志
   340  
   341  获取某个Issue下的操作日志
   342  
   343  ### Required Parameters
   344  
   345  Name | Type | Description  | Notes
   346  ------------- | ------------- | ------------- | -------------
   347   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   348    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
   349    **number** | **string**| Issue 编号(区分大小写,无需添加 # 号) | 
   350   **optional** | ***GetV5ReposOwnerIssuesNumberOperateLogsOpts** | optional parameters | nil if no parameters
   351  
   352  ### Optional Parameters
   353  Optional parameters are passed through a pointer to a GetV5ReposOwnerIssuesNumberOperateLogsOpts struct
   354  
   355  Name | Type | Description  | Notes
   356  ------------- | ------------- | ------------- | -------------
   357  
   358  
   359   **accessToken** | **optional.String**| 用户授权码 | 
   360   **repo** | **optional.String**| 仓库路径(path) | 
   361   **sort** | **optional.String**| 按递增(asc)或递减(desc)排序,默认:递减 | [default to desc]
   362  
   363  ### Return type
   364  
   365  [**[]OperateLog**](OperateLog.md)
   366  
   367  ### Authorization
   368  
   369  No authorization required
   370  
   371  ### HTTP request headers
   372  
   373   - **Content-Type**: application/json, multipart/form-data
   374   - **Accept**: application/json
   375  
   376  [[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)
   377  
   378  # **GetV5ReposOwnerRepoIssues**
   379  > []Issue GetV5ReposOwnerRepoIssues(ctx, owner, repo, optional)
   380  仓库的所有Issues
   381  
   382  仓库的所有Issues
   383  
   384  ### Required Parameters
   385  
   386  Name | Type | Description  | Notes
   387  ------------- | ------------- | ------------- | -------------
   388   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   389    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
   390    **repo** | **string**| 仓库路径(path) | 
   391   **optional** | ***GetV5ReposOwnerRepoIssuesOpts** | optional parameters | nil if no parameters
   392  
   393  ### Optional Parameters
   394  Optional parameters are passed through a pointer to a GetV5ReposOwnerRepoIssuesOpts struct
   395  
   396  Name | Type | Description  | Notes
   397  ------------- | ------------- | ------------- | -------------
   398  
   399  
   400   **accessToken** | **optional.String**| 用户授权码 | 
   401   **state** | **optional.String**| Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open | [default to open]
   402   **labels** | **optional.String**| 用逗号分开的标签。如: bug,performance | 
   403   **sort** | **optional.String**| 排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at | [default to created]
   404   **direction** | **optional.String**| 排序方式: 升序(asc),降序(desc)。默认: desc | [default to desc]
   405   **since** | **optional.String**| 起始的更新时间,要求时间格式为 ISO 8601 | 
   406   **page** | **optional.Int32**| 当前的页码 | [default to 1]
   407   **perPage** | **optional.Int32**| 每页的数量,最大为 100 | [default to 20]
   408   **schedule** | **optional.String**| 计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80 | 
   409   **deadline** | **optional.String**| 计划截止日期,格式同上 | 
   410   **createdAt** | **optional.String**| 任务创建时间,格式同上 | 
   411   **finishedAt** | **optional.String**| 任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上 | 
   412   **milestone** | **optional.String**| 根据里程碑标题。none为没里程碑的,*为所有带里程碑的 | 
   413   **assignee** | **optional.String**| 用户的username。 none为没指派者, *为所有带有指派者的 | 
   414   **creator** | **optional.String**| 创建Issues的用户username | 
   415   **program** | **optional.String**| 所属项目名称。none为没有所属项目,*为所有带所属项目的 | 
   416  
   417  ### Return type
   418  
   419  [**[]Issue**](Issue.md)
   420  
   421  ### Authorization
   422  
   423  No authorization required
   424  
   425  ### HTTP request headers
   426  
   427   - **Content-Type**: application/json, multipart/form-data
   428   - **Accept**: application/json
   429  
   430  [[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)
   431  
   432  # **GetV5ReposOwnerRepoIssuesComments**
   433  > Note GetV5ReposOwnerRepoIssuesComments(ctx, owner, repo, optional)
   434  获取仓库所有Issue的评论
   435  
   436  获取仓库所有Issue的评论
   437  
   438  ### Required Parameters
   439  
   440  Name | Type | Description  | Notes
   441  ------------- | ------------- | ------------- | -------------
   442   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   443    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
   444    **repo** | **string**| 仓库路径(path) | 
   445   **optional** | ***GetV5ReposOwnerRepoIssuesCommentsOpts** | optional parameters | nil if no parameters
   446  
   447  ### Optional Parameters
   448  Optional parameters are passed through a pointer to a GetV5ReposOwnerRepoIssuesCommentsOpts struct
   449  
   450  Name | Type | Description  | Notes
   451  ------------- | ------------- | ------------- | -------------
   452  
   453  
   454   **accessToken** | **optional.String**| 用户授权码 | 
   455   **sort** | **optional.String**| Either created or updated. Default: created | [default to created]
   456   **direction** | **optional.String**| Either asc or desc. Ignored without the sort parameter. | [default to asc]
   457   **since** | **optional.String**| Only comments updated at or after this time are returned.                                               This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ | 
   458   **page** | **optional.Int32**| 当前的页码 | [default to 1]
   459   **perPage** | **optional.Int32**| 每页的数量,最大为 100 | [default to 20]
   460  
   461  ### Return type
   462  
   463  [**Note**](Note.md)
   464  
   465  ### Authorization
   466  
   467  No authorization required
   468  
   469  ### HTTP request headers
   470  
   471   - **Content-Type**: application/json, multipart/form-data
   472   - **Accept**: application/json
   473  
   474  [[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)
   475  
   476  # **GetV5ReposOwnerRepoIssuesCommentsId**
   477  > Note GetV5ReposOwnerRepoIssuesCommentsId(ctx, owner, repo, id, optional)
   478  获取仓库Issue某条评论
   479  
   480  获取仓库Issue某条评论
   481  
   482  ### Required Parameters
   483  
   484  Name | Type | Description  | Notes
   485  ------------- | ------------- | ------------- | -------------
   486   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   487    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
   488    **repo** | **string**| 仓库路径(path) | 
   489    **id** | **int32**| 评论的ID | 
   490   **optional** | ***GetV5ReposOwnerRepoIssuesCommentsIdOpts** | optional parameters | nil if no parameters
   491  
   492  ### Optional Parameters
   493  Optional parameters are passed through a pointer to a GetV5ReposOwnerRepoIssuesCommentsIdOpts struct
   494  
   495  Name | Type | Description  | Notes
   496  ------------- | ------------- | ------------- | -------------
   497  
   498  
   499  
   500   **accessToken** | **optional.String**| 用户授权码 | 
   501  
   502  ### Return type
   503  
   504  [**Note**](Note.md)
   505  
   506  ### Authorization
   507  
   508  No authorization required
   509  
   510  ### HTTP request headers
   511  
   512   - **Content-Type**: application/json, multipart/form-data
   513   - **Accept**: application/json
   514  
   515  [[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)
   516  
   517  # **GetV5ReposOwnerRepoIssuesNumber**
   518  > Issue GetV5ReposOwnerRepoIssuesNumber(ctx, owner, repo, number, optional)
   519  仓库的某个Issue
   520  
   521  仓库的某个Issue
   522  
   523  ### Required Parameters
   524  
   525  Name | Type | Description  | Notes
   526  ------------- | ------------- | ------------- | -------------
   527   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   528    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
   529    **repo** | **string**| 仓库路径(path) | 
   530    **number** | **string**| Issue 编号(区分大小写,无需添加 # 号) | 
   531   **optional** | ***GetV5ReposOwnerRepoIssuesNumberOpts** | optional parameters | nil if no parameters
   532  
   533  ### Optional Parameters
   534  Optional parameters are passed through a pointer to a GetV5ReposOwnerRepoIssuesNumberOpts struct
   535  
   536  Name | Type | Description  | Notes
   537  ------------- | ------------- | ------------- | -------------
   538  
   539  
   540  
   541   **accessToken** | **optional.String**| 用户授权码 | 
   542  
   543  ### Return type
   544  
   545  [**Issue**](Issue.md)
   546  
   547  ### Authorization
   548  
   549  No authorization required
   550  
   551  ### HTTP request headers
   552  
   553   - **Content-Type**: application/json, multipart/form-data
   554   - **Accept**: application/json
   555  
   556  [[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)
   557  
   558  # **GetV5ReposOwnerRepoIssuesNumberComments**
   559  > []Note GetV5ReposOwnerRepoIssuesNumberComments(ctx, owner, repo, number, optional)
   560  获取仓库某个Issue所有的评论
   561  
   562  获取仓库某个Issue所有的评论
   563  
   564  ### Required Parameters
   565  
   566  Name | Type | Description  | Notes
   567  ------------- | ------------- | ------------- | -------------
   568   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   569    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
   570    **repo** | **string**| 仓库路径(path) | 
   571    **number** | **string**| Issue 编号(区分大小写,无需添加 # 号) | 
   572   **optional** | ***GetV5ReposOwnerRepoIssuesNumberCommentsOpts** | optional parameters | nil if no parameters
   573  
   574  ### Optional Parameters
   575  Optional parameters are passed through a pointer to a GetV5ReposOwnerRepoIssuesNumberCommentsOpts struct
   576  
   577  Name | Type | Description  | Notes
   578  ------------- | ------------- | ------------- | -------------
   579  
   580  
   581  
   582   **accessToken** | **optional.String**| 用户授权码 | 
   583   **since** | **optional.String**| Only comments updated at or after this time are returned.                                               This is a timestamp in ISO 8601 format: YYYY-MM-DDTHH:MM:SSZ | 
   584   **page** | **optional.Int32**| 当前的页码 | [default to 1]
   585   **perPage** | **optional.Int32**| 每页的数量,最大为 100 | [default to 20]
   586  
   587  ### Return type
   588  
   589  [**[]Note**](Note.md)
   590  
   591  ### Authorization
   592  
   593  No authorization required
   594  
   595  ### HTTP request headers
   596  
   597   - **Content-Type**: application/json, multipart/form-data
   598   - **Accept**: application/json
   599  
   600  [[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)
   601  
   602  # **GetV5UserIssues**
   603  > []Issue GetV5UserIssues(ctx, optional)
   604  获取授权用户的所有Issues
   605  
   606  获取授权用户的所有Issues
   607  
   608  ### Required Parameters
   609  
   610  Name | Type | Description  | Notes
   611  ------------- | ------------- | ------------- | -------------
   612   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   613   **optional** | ***GetV5UserIssuesOpts** | optional parameters | nil if no parameters
   614  
   615  ### Optional Parameters
   616  Optional parameters are passed through a pointer to a GetV5UserIssuesOpts struct
   617  
   618  Name | Type | Description  | Notes
   619  ------------- | ------------- | ------------- | -------------
   620   **accessToken** | **optional.String**| 用户授权码 | 
   621   **filter** | **optional.String**| 筛选参数: 授权用户负责的(assigned),授权用户创建的(created),包含前两者的(all)。默认: assigned | [default to assigned]
   622   **state** | **optional.String**| Issue的状态: open(开启的), progressing(进行中), closed(关闭的), rejected(拒绝的)。 默认: open | [default to open]
   623   **labels** | **optional.String**| 用逗号分开的标签。如: bug,performance | 
   624   **sort** | **optional.String**| 排序依据: 创建时间(created),更新时间(updated_at)。默认: created_at | [default to created]
   625   **direction** | **optional.String**| 排序方式: 升序(asc),降序(desc)。默认: desc | [default to desc]
   626   **since** | **optional.String**| 起始的更新时间,要求时间格式为 ISO 8601 | 
   627   **page** | **optional.Int32**| 当前的页码 | [default to 1]
   628   **perPage** | **optional.Int32**| 每页的数量,最大为 100 | [default to 20]
   629   **schedule** | **optional.String**| 计划开始日期,格式:20181006T173008+80-20181007T173008+80(区间),或者 -20181007T173008+80(小于20181007T173008+80),或者 20181006T173008+80-(大于20181006T173008+80),要求时间格式为20181006T173008+80 | 
   630   **deadline** | **optional.String**| 计划截止日期,格式同上 | 
   631   **createdAt** | **optional.String**| 任务创建时间,格式同上 | 
   632   **finishedAt** | **optional.String**| 任务完成时间,即任务最后一次转为已完成状态的时间点。格式同上 | 
   633  
   634  ### Return type
   635  
   636  [**[]Issue**](Issue.md)
   637  
   638  ### Authorization
   639  
   640  No authorization required
   641  
   642  ### HTTP request headers
   643  
   644   - **Content-Type**: application/json, multipart/form-data
   645   - **Accept**: application/json
   646  
   647  [[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)
   648  
   649  # **PatchV5ReposOwnerIssuesNumber**
   650  > Issue PatchV5ReposOwnerIssuesNumber(ctx, owner, number, body)
   651  更新Issue
   652  
   653  更新Issue
   654  
   655  ### Required Parameters
   656  
   657  Name | Type | Description  | Notes
   658  ------------- | ------------- | ------------- | -------------
   659   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   660    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
   661    **number** | **string**| Issue 编号(区分大小写,无需添加 # 号) | 
   662    **body** | [**IssueUpdateParam**](IssueUpdateParam.md)| 可选。Issue 内容 | 
   663  
   664  ### Return type
   665  
   666  [**Issue**](Issue.md)
   667  
   668  ### Authorization
   669  
   670  No authorization required
   671  
   672  ### HTTP request headers
   673  
   674   - **Content-Type**: application/json, multipart/form-data
   675   - **Accept**: application/json
   676  
   677  [[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)
   678  
   679  # **PatchV5ReposOwnerRepoIssuesCommentsId**
   680  > Note PatchV5ReposOwnerRepoIssuesCommentsId(ctx, owner, repo, id, body)
   681  更新Issue某条评论
   682  
   683  更新Issue某条评论
   684  
   685  ### Required Parameters
   686  
   687  Name | Type | Description  | Notes
   688  ------------- | ------------- | ------------- | -------------
   689   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   690    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
   691    **repo** | **string**| 仓库路径(path) | 
   692    **id** | **int32**| 评论的ID | 
   693    **body** | [**IssueCommentPatchParam**](IssueCommentPatchParam.md)| 必填。评论内容 |
   694  
   695  ### Return type
   696  
   697  [**Note**](Note.md)
   698  
   699  ### Authorization
   700  
   701  No authorization required
   702  
   703  ### HTTP request headers
   704  
   705   - **Content-Type**: application/json, multipart/form-data
   706   - **Accept**: application/json
   707  
   708  [[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)
   709  
   710  # **PostV5ReposOwnerIssues**
   711  > Issue PostV5ReposOwnerIssues(ctx, owner, title, optional)
   712  创建Issue
   713  
   714  创建Issue
   715  
   716  ### Required Parameters
   717  
   718  Name | Type | Description  | Notes
   719  ------------- | ------------- | ------------- | -------------
   720   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   721    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
   722    **title** | **string**| Issue标题 | 
   723   **optional** | ***PostV5ReposOwnerIssuesOpts** | optional parameters | nil if no parameters
   724  
   725  ### Optional Parameters
   726  Optional parameters are passed through a pointer to a PostV5ReposOwnerIssuesOpts struct
   727  
   728  Name | Type | Description  | Notes
   729  ------------- | ------------- | ------------- | -------------
   730  
   731  
   732   **accessToken** | **optional.String**| 用户授权码 | 
   733   **repo** | **optional.String**| 仓库路径(path) | 
   734   **issueType** | **optional.String**| 企业自定义任务类型,非企业默认任务类型为“任务” | 
   735   **body** | **optional.String**| Issue描述 | 
   736   **assignee** | **optional.String**| Issue负责人的username | 
   737   **milestone** | **optional.Int32**| 里程碑序号 | 
   738   **labels** | **optional.String**| 用逗号分开的标签,名称要求长度在 2-20 之间且非特殊字符。如: bug,performance | 
   739   **program** | **optional.String**| 项目ID | 
   740  
   741  ### Return type
   742  
   743  [**Issue**](Issue.md)
   744  
   745  ### Authorization
   746  
   747  No authorization required
   748  
   749  ### HTTP request headers
   750  
   751   - **Content-Type**: application/json, multipart/form-data
   752   - **Accept**: application/json
   753  
   754  [[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)
   755  
   756  # **PostV5ReposOwnerRepoIssuesNumberComments**
   757  > Note PostV5ReposOwnerRepoIssuesNumberComments(ctx, owner, repo, number, body)
   758  创建某个Issue评论
   759  
   760  创建某个Issue评论
   761  
   762  ### Required Parameters
   763  
   764  Name | Type | Description  | Notes
   765  ------------- | ------------- | ------------- | -------------
   766   **ctx** | **context.Context** | context for authentication, logging, cancellation, deadlines, tracing, etc.
   767    **owner** | **string**| 仓库所属空间地址(企业、组织或个人的地址path) | 
   768    **repo** | **string**| 仓库路径(path) | 
   769    **number** | **string**| Issue 编号(区分大小写,无需添加 # 号) | 
   770    **body** | [**IssueCommentPostParam**](IssueCommentPostParam.md)| Issue comment内容 | 
   771  
   772  ### Return type
   773  
   774  [**Note**](Note.md)
   775  
   776  ### Authorization
   777  
   778  No authorization required
   779  
   780  ### HTTP request headers
   781  
   782   - **Content-Type**: application/json, multipart/form-data
   783   - **Accept**: application/json
   784  
   785  [[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)
   786