Get integration overview for organization
curl --request GET \
--url https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overviewimport requests
url = "https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overview"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overview', 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-eu.cybedefend.com/organization/{organizationId}/integrations/overview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overview"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overview")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"containerRegistry": {
"total": 12,
"byType": [
{
"type": "gitlab",
"count": 5
}
]
},
"github": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"installationId": 12345678,
"userId": "550e8400-e29b-41d4-a716-446655440001",
"organizationId": "550e8400-e29b-41d4-a716-446655440002",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
},
"gitlab": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"userId": "550e8400-e29b-41d4-a716-446655440001",
"organizationId": "550e8400-e29b-41d4-a716-446655440002",
"gitlabUserId": 987654,
"gitlabGroupId": 123456,
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
}Source Code Integrations
Get integration overview for organization
Returns combined status of all integrations including GitHub installation, GitLab connection, and container registry credentials count for the organization. This endpoint consolidates multiple API calls into a single request for better performance.
GET
/
organization
/
{organizationId}
/
integrations
/
overview
Get integration overview for organization
curl --request GET \
--url https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overviewimport requests
url = "https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overview"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overview', 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-eu.cybedefend.com/organization/{organizationId}/integrations/overview",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overview"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overview")
.asString();require 'uri'
require 'net/http'
url = URI("https://api-eu.cybedefend.com/organization/{organizationId}/integrations/overview")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"containerRegistry": {
"total": 12,
"byType": [
{
"type": "gitlab",
"count": 5
}
]
},
"github": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"installationId": 12345678,
"userId": "550e8400-e29b-41d4-a716-446655440001",
"organizationId": "550e8400-e29b-41d4-a716-446655440002",
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
},
"gitlab": {
"id": "550e8400-e29b-41d4-a716-446655440000",
"userId": "550e8400-e29b-41d4-a716-446655440001",
"organizationId": "550e8400-e29b-41d4-a716-446655440002",
"gitlabUserId": 987654,
"gitlabGroupId": 123456,
"createdAt": "2024-01-15T10:30:00.000Z",
"updatedAt": "2024-01-15T10:30:00.000Z"
}
}Path Parameters
CybeDefend organization ID
Example:
"550e8400-e29b-41d4-a716-446655440000"
Response
Integration overview retrieved successfully
⌘I