What a commit touches (impact)
curl --request GET \
--url https://api.eddy.engineer/v1/projects/{id}/impact \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/projects/{id}/impact"
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/projects/{id}/impact', 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/projects/{id}/impact",
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/projects/{id}/impact"
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/projects/{id}/impact")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/projects/{id}/impact")
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{
"actor": "<string>",
"branch": "<string>",
"buffered": true,
"changed": [
"<string>"
],
"computed_unix_ms": 123,
"downstream": [
{
"doc": "<string>",
"kind": "req",
"link_type": "<string>",
"node": "<string>",
"oid": "<string>",
"set": "<string>",
"why": "<string>"
}
],
"epoch": 123,
"evaluated": true,
"hash": "<string>",
"prev_hash": "<string>",
"project": "<string>",
"sets_scanned": 123,
"suspects": [
{}
],
"upstream": [
{
"doc": "<string>",
"kind": "req",
"link_type": "<string>",
"node": "<string>",
"oid": "<string>",
"set": "<string>",
"why": "<string>"
}
]
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Projects
What a commit touches (impact)
The impact report of one commit on the project’s main line (branch=project, the saves; branch=live, the live chain’s micro-commits): the node keys it moved, the requirements linked to them (upstream), the items, products, markups and results that depend on them (downstream — items whose head payload pins the previous document hash and their parent assemblies, product parts pinned to it, link endpoints), and the links whose recorded address no longer matches (suspects). Computed at every commit from the trees (O(delta)) and the reverse link index (no scan), kept for the last 64 commits (buffered: true), recomputed otherwise. recent=N lists the last N reports. The badge is upstream + downstream + suspects.
GET
/
v1
/
projects
/
{id}
/
impact
What a commit touches (impact)
curl --request GET \
--url https://api.eddy.engineer/v1/projects/{id}/impact \
--header 'x-api-key: <api-key>'import requests
url = "https://api.eddy.engineer/v1/projects/{id}/impact"
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/projects/{id}/impact', 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/projects/{id}/impact",
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/projects/{id}/impact"
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/projects/{id}/impact")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/projects/{id}/impact")
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{
"actor": "<string>",
"branch": "<string>",
"buffered": true,
"changed": [
"<string>"
],
"computed_unix_ms": 123,
"downstream": [
{
"doc": "<string>",
"kind": "req",
"link_type": "<string>",
"node": "<string>",
"oid": "<string>",
"set": "<string>",
"why": "<string>"
}
],
"epoch": 123,
"evaluated": true,
"hash": "<string>",
"prev_hash": "<string>",
"project": "<string>",
"sets_scanned": 123,
"suspects": [
{}
],
"upstream": [
{
"doc": "<string>",
"kind": "req",
"link_type": "<string>",
"node": "<string>",
"oid": "<string>",
"set": "<string>",
"why": "<string>"
}
]
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}