curl --request POST \
--url https://api.eddy.engineer/v1/parts.candidate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"candidate": {},
"created_at": "<string>",
"proposed_by": "<string>",
"segments": 32
}
'import requests
url = "https://api.eddy.engineer/v1/parts.candidate"
payload = {
"candidate": {},
"created_at": "<string>",
"proposed_by": "<string>",
"segments": 32
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({candidate: {}, created_at: '<string>', proposed_by: '<string>', segments: 32})
};
fetch('https://api.eddy.engineer/v1/parts.candidate', 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/parts.candidate",
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([
'candidate' => [
],
'created_at' => '<string>',
'proposed_by' => '<string>',
'segments' => 32
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/parts.candidate"
payload := strings.NewReader("{\n \"candidate\": {},\n \"created_at\": \"<string>\",\n \"proposed_by\": \"<string>\",\n \"segments\": 32\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<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.eddy.engineer/v1/parts.candidate")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"candidate\": {},\n \"created_at\": \"<string>\",\n \"proposed_by\": \"<string>\",\n \"segments\": 32\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/parts.candidate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"candidate\": {},\n \"created_at\": \"<string>\",\n \"proposed_by\": \"<string>\",\n \"segments\": 32\n}"
response = http.request(request)
puts response.read_body{
"absent": [
"<string>"
],
"candidate_key": "<string>",
"class": "<string>",
"flags": [
"<string>"
],
"footprint": {},
"import": {},
"item_id": "<string>",
"manufacturer": "<string>",
"model": {},
"mpn": "<string>",
"proposed_by": "<string>",
"rev": "<string>",
"source": {},
"state": "<string>",
"symbol": {}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}A sourced part enters as a candidate item: pins re-derived, the vendor model vaulted and imported (J6)
A connector whose terms are fixed (Nexar) refuses a lifecycle, extra part fields or a weaker licence: 403 CONNECTOR_TERMS. Takes the parts sidecar’s ss.pdm.part_candidate/1 document (mcp-parts parts_propose_candidate). The engine RE-DERIVES every pin before storing anything — the model bytes must hash to model.fetch_hash and measure model.size, the footprint and symbol texts to theirs, and source.fetch_hash must equal BLAKE3 over the sorted pins plus the catalogue entry’s canonical JSON (PIN_MISMATCH otherwise: the document was edited after the connector pinned it). The model goes into the vault under its own hash (the pin IS the blob address; POST /v1/blobs would give the same) and through the C22.8 importer (import: solids / faces / surfaces / volume, or {refused} naming the rung — the blob is the part either way). The footprint and symbol must parse in the E-track library importer (FOOTPRINT_INVALID / SYMBOL_INVALID) and are vaulted as texts. A candidate L1 item part:<catalogue_id> of kind sourced_part is minted (or its in_work revision re-pointed) with the stored form as payload — bytes replaced by blob addresses, retrieved_at stamped now, lifecycle flags (status:nrnd|eol|obsolete, risk:high, rohs:false, reach:false) — and every blob attached to the revision. A released (adopted) part refuses ECO_REQUIRED: a vendor revision is an ECO. Nothing is adopted here (L7).
curl --request POST \
--url https://api.eddy.engineer/v1/parts.candidate \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"candidate": {},
"created_at": "<string>",
"proposed_by": "<string>",
"segments": 32
}
'import requests
url = "https://api.eddy.engineer/v1/parts.candidate"
payload = {
"candidate": {},
"created_at": "<string>",
"proposed_by": "<string>",
"segments": 32
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({candidate: {}, created_at: '<string>', proposed_by: '<string>', segments: 32})
};
fetch('https://api.eddy.engineer/v1/parts.candidate', 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/parts.candidate",
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([
'candidate' => [
],
'created_at' => '<string>',
'proposed_by' => '<string>',
'segments' => 32
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"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"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/parts.candidate"
payload := strings.NewReader("{\n \"candidate\": {},\n \"created_at\": \"<string>\",\n \"proposed_by\": \"<string>\",\n \"segments\": 32\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<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.eddy.engineer/v1/parts.candidate")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"candidate\": {},\n \"created_at\": \"<string>\",\n \"proposed_by\": \"<string>\",\n \"segments\": 32\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/parts.candidate")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"candidate\": {},\n \"created_at\": \"<string>\",\n \"proposed_by\": \"<string>\",\n \"segments\": 32\n}"
response = http.request(request)
puts response.read_body{
"absent": [
"<string>"
],
"candidate_key": "<string>",
"class": "<string>",
"flags": [
"<string>"
],
"footprint": {},
"import": {},
"item_id": "<string>",
"manufacturer": "<string>",
"model": {},
"mpn": "<string>",
"proposed_by": "<string>",
"rev": "<string>",
"source": {},
"state": "<string>",
"symbol": {}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
ss.pdm.part_candidate/1: {schema_version, source {connector, catalogue_id, retrieved_under, fetch_hash}, part {mpn, manufacturer, class, description, standard?, parameters, has_model, has_footprint}, model {filename, media_type, size, fetch_hash, bytes_b64} | null, footprint {footprint {name, kicad_mod, fetch_hash}, symbol {name, kicad_sym, fetch_hash}} | null, lifecycle {status, rohs, reach, risk, ..., fetch_hash} | null, absent[], adoption}
Response
The candidate item