
# 查询gitcode流水线事件 - ListActionsEvents
#### 功能介绍
查询gitcode流水线事件
#### 调用方法
请参见[如何调用API](https://support.huaweicloud.com/api-pipeline/pipeline_03_0006.html)。
#### URI
POST /v6/{domain_id}/api/pac/pipelines/actions/events
表1路径参数 
| 参数        | 是否必选 | 参数类型   | 描述                                                                                                                                                                                                                                                                                                                                                     |
|:---|:---|:---|:---|
| domain_id | 是    | String | **参数解释**： 租户ID，用户的domainId。 **约束限制**： 不涉及。 **取值范围**： 32位字符，由数字和字母组成。 **默认取值**： 不涉及。 |
   
#### 请求参数
表2请求Body参数 
| 参数        | 是否必选 | 参数类型   | 描述                                                                                                                                                                                                                                                                                                                                 |
|:---|:---|:---|:---|
| https_url | 是    | String | **参数解释**： 代码源仓库地址。 **约束限制**： 不涉及。 **取值范围**： 不涉及。 **默认取值**： 不涉及。 |
   
#### 响应参数
**状态码：200**
表3响应Body参数 
| 参数     | 参数类型             | 描述                                                                                                                                              |
|:---|:---|:---|
| events | Array of strings | **参数解释**： 触发类型列表。 **取值范围**： 不涉及。 |
   
#### 请求示例
```
POST https://{endpoint}/v6/93b9fc6ffc6a4edc9ab049c1f0dbec4b/api/pac/pipelines/actions/events
{
  "https_url" : "https://example.com"
}
```
#### 响应示例
**状态码：200**
OK
```
{
  "events" : [ "Push" ]
}
```
#### 状态码
| 状态码 | 描述 |
|:---|:---|
| 200 | OK |
   
#### 错误码
请参见[错误码](https://support.huaweicloud.com/api-pipeline/ErrorCode.html)。
