Skip to main content
POST
A sourced part enters as a candidate item: pins re-derived, the vendor model vaulted and imported (J6)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
candidate
object
required

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}

created_at
string
required

RFC 3339; stamped as source.retrieved_at

proposed_by
string
required

agent: or human:

segments
integer
default:32

Tessellation segments for the import's viz and volume.

Response

The candidate item

absent
string[]
candidate_key
string

Content address of the stored form (ss.pdm.sourced_part/1)

class
string
flags
string[]
footprint
object | null

{blob_id, name, fptype, pads}

import
object | null

The C22.8 importer's verdict: {solids, faces, edges, vertices, surfaces, curves, volume_mm3, length_unit, viz, skipped} or {refused}

item_id
string
manufacturer
string
model
object | null

{blob_id, size, filename, media_type} -- the vaulted vendor STEP

mpn
string
proposed_by
string
rev
string
source
object

{connector, catalogue_id, retrieved_under, fetch_hash, retrieved_at}

state
string

in_work

symbol
object | null

{blob_id, name, pins, footprint}