Get GitHub integration properties
curl --request GET \
--url https://api.getfernand.com/integrations/github/properties \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getfernand.com/integrations/github/properties"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getfernand.com/integrations/github/properties', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getfernand.com/integrations/github/properties",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.getfernand.com/integrations/github/properties")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_bodypackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getfernand.com/integrations/github/properties"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}using RestSharp;
var options = new RestClientOptions("https://api.getfernand.com/integrations/github/properties");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("X-API-Key", "<api-key>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);HttpResponse<String> response = Unirest.get("https://api.getfernand.com/integrations/github/properties")
.header("X-API-Key", "<api-key>")
.asString();{
"data": {
"repositories": [
{
"id": "R_kgDOABCDEF",
"name": "piedpiper/algorithm"
}
],
"labels": [
{
"id": "LA_kwDOABCDEF",
"name": "Bug",
"color": "d73a4a",
"repository_id": "R_kgDOABCDEF"
}
],
"milestones": [
{
"id": "M_kwDOABCDEF",
"title": "Version 1.0",
"repository_id": "R_kgDOABCDEF"
}
],
"projects": [
{
"id": "PVT_kwDOABCDEF",
"title": "Roadmap",
"repository_id": "R_kgDOABCDEF"
}
],
"workflows": [
{
"id": "W_kwDOABCDEF",
"name": "Development",
"project_id": "PVT_kwDOABCDEF",
"repository_id": "R_kgDOABCDEF"
}
],
"teams": [
{
"id": "T_kwDOABCDEF",
"name": "PiedPiper",
"project_id": "PVT_kwDOABCDEF",
"repository_id": "R_kgDOABCDEF"
}
],
"users": [
{
"id": "U_kgDOABCDEF",
"name": "Bertram Gilfoyle",
"avatar_url": "https://avatars.githubusercontent.com/u/123456",
"repository_id": "R_kgDOABCDEF"
}
],
"types": [
{
"id": "IT_kwDOABCDEF",
"name": "Feature",
"color": "0e8a16",
"repository_id": "R_kgDOABCDEF"
}
]
}
}{
"error": "An unknown error occured while trying to load data on Github"
}Get GitHub integration properties
GET
/
integrations
/
github
/
properties
Get GitHub integration properties
curl --request GET \
--url https://api.getfernand.com/integrations/github/properties \
--header 'X-API-Key: <api-key>'import requests
url = "https://api.getfernand.com/integrations/github/properties"
headers = {"X-API-Key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'X-API-Key': '<api-key>'}};
fetch('https://api.getfernand.com/integrations/github/properties', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.getfernand.com/integrations/github/properties",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"X-API-Key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}require 'uri'
require 'net/http'
url = URI("https://api.getfernand.com/integrations/github/properties")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["X-API-Key"] = '<api-key>'
response = http.request(request)
puts response.read_bodypackage main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.getfernand.com/integrations/github/properties"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("X-API-Key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}using RestSharp;
var options = new RestClientOptions("https://api.getfernand.com/integrations/github/properties");
var client = new RestClient(options);
var request = new RestRequest("");
request.AddHeader("X-API-Key", "<api-key>");
var response = await client.GetAsync(request);
Console.WriteLine("{0}", response.Content);HttpResponse<String> response = Unirest.get("https://api.getfernand.com/integrations/github/properties")
.header("X-API-Key", "<api-key>")
.asString();{
"data": {
"repositories": [
{
"id": "R_kgDOABCDEF",
"name": "piedpiper/algorithm"
}
],
"labels": [
{
"id": "LA_kwDOABCDEF",
"name": "Bug",
"color": "d73a4a",
"repository_id": "R_kgDOABCDEF"
}
],
"milestones": [
{
"id": "M_kwDOABCDEF",
"title": "Version 1.0",
"repository_id": "R_kgDOABCDEF"
}
],
"projects": [
{
"id": "PVT_kwDOABCDEF",
"title": "Roadmap",
"repository_id": "R_kgDOABCDEF"
}
],
"workflows": [
{
"id": "W_kwDOABCDEF",
"name": "Development",
"project_id": "PVT_kwDOABCDEF",
"repository_id": "R_kgDOABCDEF"
}
],
"teams": [
{
"id": "T_kwDOABCDEF",
"name": "PiedPiper",
"project_id": "PVT_kwDOABCDEF",
"repository_id": "R_kgDOABCDEF"
}
],
"users": [
{
"id": "U_kgDOABCDEF",
"name": "Bertram Gilfoyle",
"avatar_url": "https://avatars.githubusercontent.com/u/123456",
"repository_id": "R_kgDOABCDEF"
}
],
"types": [
{
"id": "IT_kwDOABCDEF",
"name": "Feature",
"color": "0e8a16",
"repository_id": "R_kgDOABCDEF"
}
]
}
}{
"error": "An unknown error occured while trying to load data on Github"
}Retrieves all available GitHub properties for the authenticated organization. Returns a 404 error if the GitHub integration is not configured for the organization.
Authorizations
Response
GitHub properties retrieved successfully.
Show child attributes
Show child attributes
Was this page helpful?
Create a new Linear issue and attach it to a conversation
Previous
Search for GitHub issues across all connected repositories
Next
⌘I