Get the project's repository sync
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/repoconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/repo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/repo"
response = requests.get(url)
print(response.text){}Projects
Get the project's repository sync
The GitHub repository branch the project mirrors into its brain (#669), or null: the account whose token is used, the sync paths, whether Hookie registered the push webhook, the last commit synced, how many files are mirrored and skipped, the state and the last error. The token is never returned. Also answers default_sync_paths.
GET
/
admin
/
api
/
projects
/
{project_id}
/
repo
Get the project's repository sync
curl --request GET \
--url https://app.hookie.ai/admin/api/projects/{project_id}/repoconst options = {method: 'GET'};
fetch('https://app.hookie.ai/admin/api/projects/{project_id}/repo', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://app.hookie.ai/admin/api/projects/{project_id}/repo"
response = requests.get(url)
print(response.text){}