Check whether GitHub integration is enabled, without contacting GitHub
curl --request GET \
--url https://api.itoflow.ai/integrations/github/availability \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.itoflow.ai/integrations/github/availability"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.itoflow.ai/integrations/github/availability', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"enabled": true
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}GitHub
Availability
Operation ID: githubAvailability.
GET
https://api.itoflow.ai
/
integrations
/
github
/
availability
Check whether GitHub integration is enabled, without contacting GitHub
curl --request GET \
--url https://api.itoflow.ai/integrations/github/availability \
--header 'Authorization: Bearer <token>'import requests
url = "https://api.itoflow.ai/integrations/github/availability"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://api.itoflow.ai/integrations/github/availability', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));{
"enabled": true
}{
"error": {
"code": "<string>",
"message": "<string>"
}
}