Skip to main content
POST
Store an earthing document (survey, soil, system or result) 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
document
object

The document inline, with its schema tag

include_document
boolean

Also answer the canonical document (false)

key
string

A stored document's key, to validate it again (beside other documents)

power_network_key
string

A system: the PW network it refers to

soil_key
string

A system: the soil model to validate it beside

survey_key
string

A soil model: the survey it was fitted to

system_key
string

A result: the system it is of

Response

schema, kind (survey | soil | system | result), key, blob_uri, name, counts, validation {errors, warnings, info, findings, truncated}, and document when asked

The response is of type object.