Skip to main content
POST
Store a power network document (`ss.power.network/1`) by content address and validate it

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
network
object

The network document (ss.power.network/1), inline: name, frequency_hz, base_va, buses, sources, branches, shunts, loads, motors, devices, cases, extensions. SI units. Give exactly one of network, network_key, project

network_key
string

The key (b3:<hex>) of a stored network: what power_network, power_import and power_edit answer as key

project
string

The id of a project whose document is a network (app: "power"): its live head where it has one, else its last save

variant
string

A variant of project, by slug

Response

schema, key, blob_uri, name, frequency_hz, base_va, counts, cases, extensions, validation {errors, warnings, info, findings, truncated}

The response is of type object.