GetInstallation
Fetches an installation identified by the UUID.
GET
/
v1
/
namespaces
/
{tenant_meta.namespace}
/
installations
/
{uuid}
GetInstallation
curl --request GET \
--url https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}import requests
url = "https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}', 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.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}",
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.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}"
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.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}")
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{
"meta": {
"name": "<string>",
"annotations": {},
"create_time": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"description": "<string>",
"index_data": {
"data": [
"<string>"
],
"search_score": 123,
"tenant": "<string>",
"will_be_deleted_at": "2023-11-07T05:31:56Z"
},
"kind": "<string>",
"parent_kind": "<string>",
"parent_uuid": "<string>",
"references": {},
"tags": [
"<string>"
],
"update_time": "2023-11-07T05:31:56Z",
"updated_by": "<string>",
"upsert_time": "2023-11-07T05:31:56Z",
"version": "<string>"
},
"tenant_meta": {
"namespace": "<string>"
},
"processing_status": {
"analytic_time": "2023-11-07T05:31:56Z",
"deactivated": true,
"disable_automated_scan": true,
"metadata": {
"full_history_scan_time": "2023-11-07T05:31:56Z"
},
"queue_time": "2023-11-07T05:31:56Z",
"scan_state": "SCAN_STATE_UNSPECIFIED",
"scan_time": "2023-11-07T05:31:56Z"
},
"propagate": true,
"spec": {
"azure_config": {
"host_url": "<string>",
"enable_full_scan": true,
"enable_pr_comments": true,
"enable_pr_scans": true,
"personal_access_token": "<string>",
"webhook_secret": "<string>"
},
"bitbucket_config": {
"host_url": "<string>",
"cloud": {
"access_token": "<string>",
"app_password_config": {
"app_password": "<string>",
"username": "<string>"
}
},
"data_center": {
"http_access_token": "<string>"
},
"enable_full_scan": true,
"enable_pr_comments": true,
"enable_pr_scans": true,
"webhook_secret": "<string>"
},
"cleanup_stale_namespaces": true,
"enabled_features": [
"ENABLED_FEATURE_TYPE_UNSPECIFIED"
],
"exclude_project_regexes": [
"<string>"
],
"external_id": "<string>",
"external_name": "<string>",
"github_config": {
"app_id": "<string>",
"enable_full_scan": true,
"enable_pr_comments": true,
"enable_pr_scans": true,
"host_url": "<string>",
"include_archived_repos": true,
"installation_github_user": "<string>"
},
"gitlab_config": {
"host_url": "<string>",
"enable_full_scan": true,
"enable_mr_comments": true,
"enable_mr_scans": true,
"personal_access_token": "<string>",
"webhook_secret": "<string>"
},
"huggingface_config": {
"host_url": "<string>",
"access_token": "<string>",
"avatar_url": "<string>"
},
"include_archived_repos": true,
"ingestion_time": "2023-11-07T05:31:56Z",
"ingestion_token": "<string>",
"installation_error_message": "<string>",
"invalid": true,
"login": "<string>",
"marked_for_deletion": true,
"platform_source": "PLATFORM_SOURCE_TYPE_UNSPECIFIED",
"platform_type": "PLATFORM_SOURCE_UNSPECIFIED",
"project_uuids": [
"<string>"
],
"public": true,
"scm_app_uuid": "<string>",
"suspended": true,
"target_type": "<string>",
"user": "<string>"
},
"uuid": "<string>"
}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}Path Parameters
Query Parameters
Response
A successful response.
Installation represents an installation request in the system.
Was this page helpful?
GetInstallation
curl --request GET \
--url https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}import requests
url = "https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}', 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.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}",
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.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}"
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.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.endorlabs.com/v1/namespaces/{tenant_meta.namespace}/installations/{uuid}")
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{
"meta": {
"name": "<string>",
"annotations": {},
"create_time": "2023-11-07T05:31:56Z",
"created_by": "<string>",
"description": "<string>",
"index_data": {
"data": [
"<string>"
],
"search_score": 123,
"tenant": "<string>",
"will_be_deleted_at": "2023-11-07T05:31:56Z"
},
"kind": "<string>",
"parent_kind": "<string>",
"parent_uuid": "<string>",
"references": {},
"tags": [
"<string>"
],
"update_time": "2023-11-07T05:31:56Z",
"updated_by": "<string>",
"upsert_time": "2023-11-07T05:31:56Z",
"version": "<string>"
},
"tenant_meta": {
"namespace": "<string>"
},
"processing_status": {
"analytic_time": "2023-11-07T05:31:56Z",
"deactivated": true,
"disable_automated_scan": true,
"metadata": {
"full_history_scan_time": "2023-11-07T05:31:56Z"
},
"queue_time": "2023-11-07T05:31:56Z",
"scan_state": "SCAN_STATE_UNSPECIFIED",
"scan_time": "2023-11-07T05:31:56Z"
},
"propagate": true,
"spec": {
"azure_config": {
"host_url": "<string>",
"enable_full_scan": true,
"enable_pr_comments": true,
"enable_pr_scans": true,
"personal_access_token": "<string>",
"webhook_secret": "<string>"
},
"bitbucket_config": {
"host_url": "<string>",
"cloud": {
"access_token": "<string>",
"app_password_config": {
"app_password": "<string>",
"username": "<string>"
}
},
"data_center": {
"http_access_token": "<string>"
},
"enable_full_scan": true,
"enable_pr_comments": true,
"enable_pr_scans": true,
"webhook_secret": "<string>"
},
"cleanup_stale_namespaces": true,
"enabled_features": [
"ENABLED_FEATURE_TYPE_UNSPECIFIED"
],
"exclude_project_regexes": [
"<string>"
],
"external_id": "<string>",
"external_name": "<string>",
"github_config": {
"app_id": "<string>",
"enable_full_scan": true,
"enable_pr_comments": true,
"enable_pr_scans": true,
"host_url": "<string>",
"include_archived_repos": true,
"installation_github_user": "<string>"
},
"gitlab_config": {
"host_url": "<string>",
"enable_full_scan": true,
"enable_mr_comments": true,
"enable_mr_scans": true,
"personal_access_token": "<string>",
"webhook_secret": "<string>"
},
"huggingface_config": {
"host_url": "<string>",
"access_token": "<string>",
"avatar_url": "<string>"
},
"include_archived_repos": true,
"ingestion_time": "2023-11-07T05:31:56Z",
"ingestion_token": "<string>",
"installation_error_message": "<string>",
"invalid": true,
"login": "<string>",
"marked_for_deletion": true,
"platform_source": "PLATFORM_SOURCE_TYPE_UNSPECIFIED",
"platform_type": "PLATFORM_SOURCE_UNSPECIFIED",
"project_uuids": [
"<string>"
],
"public": true,
"scm_app_uuid": "<string>",
"suspended": true,
"target_type": "<string>",
"user": "<string>"
},
"uuid": "<string>"
}{
"code": 123,
"details": [
{
"@type": "<string>"
}
],
"message": "<string>"
}