API ReferenceGit
Configure GitHub sync for repository
Configure GitHub synchronization for an existing Freestyle repository. This links your Freestyle repository to a GitHub repository for automatic syncing. Requires the GitHub repository name in 'owner/repo' format.
Path Parameters
repo_id*string
Repository ID
Format
uuidRequest Body
application/json
githubRepoName*string
The GitHub repository name in "owner/repo" format
Response Body
curl -X POST "https://api.freestyle.sh/git/v1/repo/497f6eca-6276-4993-bfeb-53cbbbba6f08/github-sync" \ -H "Content-Type: application/json" \ -d '{ "githubRepoName": "string" }'Empty
Empty
Empty
Empty