API ReferenceGit
List git triggers for a repository
List git triggers for the given repository.
Path Parameters
repo*string
The repository id
Format
uuidResponse Body
application/json
application/json
application/json
application/json
application/json
curl -X GET "https://api.freestyle.sh/git/v1/repo/497f6eca-6276-4993-bfeb-53cbbbba6f08/trigger"{
"triggers": [
{
"repositoryId": "5aa3e9fa-2d0a-4c21-ad54-43217e2bc9c0",
"trigger": {
"branches": [
"string"
],
"globs": [
"string"
],
"event": "push"
},
"action": {
"endpoint": "string",
"action": "webhook"
},
"managed": true,
"id": "497f6eca-6276-4993-bfeb-53cbbbba6f08",
"createdAt": "2019-08-24T14:15:22Z"
}
]
}{
"message": "string"
}{
"message": "string"
}{
"message": "string"
}{
"message": "string"
}