Authorizations: oauth2_implicit (repo:admin)
Type | Name | Description | Schema |
---|---|---|---|
path |
trigger_uuid |
The UUID of the build trigger |
string |
path |
repository |
The full path of the repository. e.g. namespace/name |
string |
Name | Description | Schema |
---|---|---|
config |
Arbitrary json. |
object |
pull_robot |
The name of the robot that will be used to pull images. |
string |
HTTP Code | Description | Schema |
---|---|---|
201 |
Successful creation |
|
400 |
Bad Request |
|
401 |
Session required |
|
403 |
Unauthorized access |
|
404 |
Not found |
$ curl -X POST "https://quay-server.example.com/api/v1/repository/example_namespace/example_repo/trigger/example-trigger-uuid/activate" \
-H "Authorization: Bearer <your_access_token>" \
-H "Content-Type: application/json" \
-d '{
"config": {
"branch": "main"
},
"pull_robot": "example+robot"
}'