Skip to main content
POST
Lay a solar or wind farm's metal into a system: pile rows, turbine foundations, foundation cages, cable sheaths (EG11)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
farm
object
required

pile_rows ([{prefix, origin, rows, row_pitch_m, piles_per_row, pile_spacing_m, pile_length_m, pile_radius_m, pile_material, frame_radius_m, frame_material, earth: {at_last_pile, depth_m, radius_m, material}}]), turbines ([{prefix, centre, cage_radius_m, bars, top_depth_m, bottom_depth_m, rings, bar_radius_m, bar_material, ring: {radius_m, depth_m, conductor_radius_m, material, sides}, links}]), foundation_cages ({bars, rings, bar_radius_m, material}), sheaths ([{id, path, radius_m, r_ohm_per_m, material}])

async
boolean

true: run as a job and answer 202 with job_id, poll and events; the finished job's result is this route's body without the inline result (read result_key's blob). false: always inline. Left out: inline up to 5,000 straight runs of the system (SS_EARTHING_SYNC_RUNS), a job above

system
object

The system document (ss.earthing.system/1) inline: frame, soil (the soil model's key), power_network, conductors, rods, plates, foundations, bonds, fences, surface_layers, returns, fault_cases, objects. Give system or system_key

system_key
string

The key (b3:<hex>) of a stored system: what earthing_document, earthing_import and earthing_edit answer as key

Response

calc, schema, result_key (BLAKE3 of the result's canonical bytes: the crate's own; blob_uri reads it, report_uri is its certificate, which verify_result runs again), request_key, inputs (every document by key), fault_case, tables (each table read, by id, item, revision and content key: its citation; never its entries), tables_on, upstream, documents (earthing documents made with the result, by key), layers (rasters and vectors the result names, stored in the spatial engine: /v1/spatial.raster/{key}, /v1/spatial.vector/{key}), summary, lane (light | heavy | job), result_inline and result: the system, and series_ohm_per_m

The response is of type object.