LogoFreestyle
API Reference/Git

Get GitHub sync configuration

Get the GitHub sync configuration for a repository, if configured.

GET/git/v1/repo/{repo_id}/github-sync

Path Parameters

repo_idRequiredstring

Repository ID

Format: "uuid"

Response Body

200

GitHub sync configuration

githubRepoNameRequiredstring
curl -X GET "https://api.freestyle.sh/git/v1/repo/497f6eca-6276-4993-bfeb-53cbbbba6f08/github-sync"

GitHub sync configuration

{
  "githubRepoName": "string"
}