List connector providers
curl --request GET \
--url https://api.example.com/api/connectors/providers \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/api/connectors/providers"
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.example.com/api/connectors/providers', 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.example.com/api/connectors/providers",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/connectors/providers"
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))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/connectors/providers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/connectors/providers")
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_body{
"data": {
"categories": [
{
"display_name": "<string>",
"id": "<string>",
"sort_order": 123
}
],
"providers": [
{
"category": "<string>",
"display_name": "<string>",
"icon_url": "<string>",
"id": "<string>",
"kind": "oauth",
"origin": "system",
"sub_services": [
{
"display_name": "<string>",
"id": "<string>",
"description": "",
"scopes": [
"<string>"
]
}
],
"config_fields": [
{
"key": "<string>",
"label": "<string>",
"target": "env",
"required": true,
"secret": false
}
],
"description": ""
}
]
}
}{
"error": "<string>",
"code": "<string>"
}connectors
List connector providers
The provider catalog — one entry per registered connector provider, plus category groupings.
The category groupings are those the UI arranges the providers under.
Providers come from the in-memory registry (populated from the manifest’s
connectors list at boot/reload), so they list regardless of store
configuration. The category
groupings live in the connector store’s Postgres, so they are served only when
that store is configured (otherwise an empty grouping list, mirroring the
OFF-state connections read).
GET
/
api
/
connectors
/
providers
List connector providers
curl --request GET \
--url https://api.example.com/api/connectors/providers \
--header 'x-api-key: <api-key>'import requests
url = "https://api.example.com/api/connectors/providers"
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.example.com/api/connectors/providers', 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.example.com/api/connectors/providers",
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;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://api.example.com/api/connectors/providers"
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))
}HttpResponse<String> response = Unirest.get("https://api.example.com/api/connectors/providers")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.example.com/api/connectors/providers")
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_body{
"data": {
"categories": [
{
"display_name": "<string>",
"id": "<string>",
"sort_order": 123
}
],
"providers": [
{
"category": "<string>",
"display_name": "<string>",
"icon_url": "<string>",
"id": "<string>",
"kind": "oauth",
"origin": "system",
"sub_services": [
{
"display_name": "<string>",
"id": "<string>",
"description": "",
"scopes": [
"<string>"
]
}
],
"config_fields": [
{
"key": "<string>",
"label": "<string>",
"target": "env",
"required": true,
"secret": false
}
],
"description": ""
}
]
}
}{
"error": "<string>",
"code": "<string>"
}
