The engine-side boundary-class connectors: standards and parts, configured or not, key held or not -- never the key (J6)
curl --request GET \
--url https://api.eddy.engineer/v1/connectors \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/connectors"
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.eddy.engineer/v1/connectors', 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.eddy.engineer/v1/connectors",
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.eddy.engineer/v1/connectors"
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.eddy.engineer/v1/connectors")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/connectors")
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{
"connectors": [
{
"account": "<string>",
"base_url": "<string>",
"configured": true,
"family": "<string>",
"id": "<string>",
"key_present": true,
"live": true,
"scope": [
"<string>"
],
"sidecar": "<string>"
}
],
"note": "<string>"
}Meta
The engine-side boundary-class connectors: standards and parts, configured or not, key held or not -- never the key (J6)
The console's data-source cards read this instead of holding keys in the browser. Configuration is environment on the engine: SS_STANDARDS_{CONNECTOR,URL,SUBSCRIPTION} for the standards sidecar; SS_PARTS_{CONNECTOR,URL,ACCOUNT} for one parts connector or SS_PARTS_<NAME>_{URL,ACCOUNT} per connector (TRACEPARTS, SNAPEDA, ULTRALIBRARIAN, NEXAR, Z2DATA), with the connector's named fields as _<FIELD> (`api_key` also as _KEY): all of them or the deployment holds no credential for it. Each row: id, family, the sidecar binary, configured, key_present, base_url, account label, `live` and `live_detail` and the tools the connector serves (its scope). IG4: `live` is measured through the sidecar's connector_health with this caller's credential, kept 60 s: true only when the sidecar answered with adapter_built, credential_present and ok all true, so it stays false until a connector's adapter is built. IG3: `key_present` is this caller's answer -- their own stored credential, else their org's, else the deployment's environment (own-account connectors (Nexar, DigiKey, Mouser, McMaster-Carr) take the deployment's only with SS_DEV_SINGLE_USER=1 on an engine with no sign-in, and a personal key answers only in the org it was saved in) -- with `key_source`, the `fingerprint`, the connector's `fields`, `user` / `org` (fingerprint, account, set_by, set_at_unix_ms), `can_set_org` and `can_set_user`; credentials are set at PUT /v1/connectors/{id}/credential and never returned.
GET
/
v1
/
connectors
The engine-side boundary-class connectors: standards and parts, configured or not, key held or not -- never the key (J6)
curl --request GET \
--url https://api.eddy.engineer/v1/connectors \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/connectors"
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.eddy.engineer/v1/connectors', 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.eddy.engineer/v1/connectors",
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.eddy.engineer/v1/connectors"
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.eddy.engineer/v1/connectors")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/connectors")
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{
"connectors": [
{
"account": "<string>",
"base_url": "<string>",
"configured": true,
"family": "<string>",
"id": "<string>",
"key_present": true,
"live": true,
"scope": [
"<string>"
],
"sidecar": "<string>"
}
],
"note": "<string>"
}