2.20. trigger : Create, list and manage build triggers.


2.20.1.1. Implementation Notes

Activate the specified build trigger.

2.20.1.2. Parameters

Expand
ParameterValueDescriptionParameter TypeData Type

trigger_uuid

required

The UUID of the build trigger

path

string

repository

required

The full path of the repository. e.g. namespace/name

path

string

body

required (Parameter content type: application/json)

Request body contents.

body

Model: Model Schema

{
  "pull_robot": "string",
  "config": {}
}

2.20.1.3. Response Messages

Expand
HTTP Status CodeReasonResponse ModelHeaders

201

Successful creation

 

400

Bad Request

Mode: Model Schema

{
  "status": 0,
  "error_message": "string",
  "title": "string",
  "error_type": "string",
  "detail": "string",
  "type": "string"
 

401

Session required

 Model: Model Schema

{
  "status": 0,
  "error_message": "string",
  "title": "string",
  "error_type": "string",
  "detail": "string",
  "type": "string"
}
 

403

Unauthorized access

Model: Model Schema

{
  "status": 0,
  "error_message": "string",
  "title": "string",
  "error_type": "string",
  "detail": "string",
  "type": "string"
}
 

404

Not found

Model: Model Schema

{
  "status": 0,
  "error_message": "string",
  "title": "string",
  "error_type": "string",
  "detail": "string",
  "type": "string"
}
 
Red Hat logoGithubredditYoutubeTwitter

学习

尝试、购买和销售

社区

關於紅帽

我们提供强化的解决方案,使企业能够更轻松地跨平台和环境(从核心数据中心到网络边缘)工作。

让开源更具包容性

红帽致力于替换我们的代码、文档和 Web 属性中存在问题的语言。欲了解更多详情,请参阅红帽博客.

关于红帽文档

Legal Notice

Theme

© 2026 Red Hat
返回顶部