LogoFreestyle
API ReferenceGit

List git triggers for a repository

List git triggers for the given repository.

GET
/git/v1/repo/{repo}/trigger

Path Parameters

repo*string

The repository id

Formatuuid

Response 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"
}

Freestyle AI

Documentation assistant

Experimental: AI responses may not always be accurate—please verify important details with the official documentation.

How can I help?

Ask me about Freestyle while you browse the docs.