curl --request POST \
--url https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations \
--header 'Content-Type: application/json' \
--header 'X-Omnara-Csrf: <api-key>' \
--cookie __Host-omnara_session= \
--data '
{
"credential_secret_id": "<string>",
"page": 1
}
'import requests
url = "https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations"
payload = {
"credential_secret_id": "<string>",
"page": 1
}
headers = {
"cookie": "__Host-omnara_session=",
"X-Omnara-Csrf": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
cookie: '__Host-omnara_session=',
'X-Omnara-Csrf': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({credential_secret_id: '<string>', page: 1})
};
fetch('https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations', 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.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'credential_secret_id' => '<string>',
'page' => 1
]),
CURLOPT_COOKIE => "__Host-omnara_session=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Omnara-Csrf: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations"
payload := strings.NewReader("{\n \"credential_secret_id\": \"<string>\",\n \"page\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "__Host-omnara_session=")
req.Header.Add("X-Omnara-Csrf", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations")
.header("cookie", "__Host-omnara_session=")
.header("X-Omnara-Csrf", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"credential_secret_id\": \"<string>\",\n \"page\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = '__Host-omnara_session='
request["X-Omnara-Csrf"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"credential_secret_id\": \"<string>\",\n \"page\": 1\n}"
response = http.request(request)
puts response.read_body{
"provider_app_id": "<string>",
"name": "<string>",
"slug": "<string>",
"install_url": "<string>",
"installations": [
{
"id": "<string>",
"account": "<string>",
"settings_url": "<string>",
"account_type": "<string>"
}
],
"next_page": 500
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Inspect installations of a customer-owned GitHub App
Verifies the supplied project-available GitHub credential secret using App authentication and returns one bounded page of installations. Requires a browser session and project management access. Inspection does not connect or change this integration. Explicit confirmation uses ConfigureIntegration with the returned provider_app_id, selected installation ID, credential secret ID and current expected setup revision. A saved secret remains usable while organization approval is pending; there is no expiring continuation. Guided links support github.com only.
curl --request POST \
--url https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations \
--header 'Content-Type: application/json' \
--header 'X-Omnara-Csrf: <api-key>' \
--cookie __Host-omnara_session= \
--data '
{
"credential_secret_id": "<string>",
"page": 1
}
'import requests
url = "https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations"
payload = {
"credential_secret_id": "<string>",
"page": 1
}
headers = {
"cookie": "__Host-omnara_session=",
"X-Omnara-Csrf": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {
cookie: '__Host-omnara_session=',
'X-Omnara-Csrf': '<api-key>',
'Content-Type': 'application/json'
},
body: JSON.stringify({credential_secret_id: '<string>', page: 1})
};
fetch('https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations', 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.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'credential_secret_id' => '<string>',
'page' => 1
]),
CURLOPT_COOKIE => "__Host-omnara_session=",
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"X-Omnara-Csrf: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations"
payload := strings.NewReader("{\n \"credential_secret_id\": \"<string>\",\n \"page\": 1\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("cookie", "__Host-omnara_session=")
req.Header.Add("X-Omnara-Csrf", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations")
.header("cookie", "__Host-omnara_session=")
.header("X-Omnara-Csrf", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"credential_secret_id\": \"<string>\",\n \"page\": 1\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.omnara.com/v1/orgs/{orgID}/projects/{projectID}/integrations/{integrationID}/github-setup/installations")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["cookie"] = '__Host-omnara_session='
request["X-Omnara-Csrf"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"credential_secret_id\": \"<string>\",\n \"page\": 1\n}"
response = http.request(request)
puts response.read_body{
"provider_app_id": "<string>",
"name": "<string>",
"slug": "<string>",
"install_url": "<string>",
"installations": [
{
"id": "<string>",
"account": "<string>",
"settings_url": "<string>",
"account_type": "<string>"
}
],
"next_page": 500
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>",
"current_digest": "<string>",
"issues": [
{
"path": "<string>",
"message": "<string>",
"line": 2,
"column": 2
}
]
}{
"error": "<string>",
"code": "<string>"
}{
"error": "<string>",
"code": "<string>"
}Authorizations
Browser session cookie. HTTPS deployments use __Host-omnara_session; local HTTP development uses omnara_session.
CSRF token header required for browser-session mutations. The value must match the session's CSRF cookie.
Path Parameters
^org_[a-z2-7]{26}$^proj_[a-z2-7]{26}$^itg_[a-z2-7]{26}$Body
Response
GitHub setup information verified.
^[1-9][0-9]*$Verified GitHub App installation URL. Its state may carry the public credential secret ID as a recovery hint, never credentials or authorization.
Show child attributes
Show child attributes
1 <= x <= 1000