Skip to main content
POST
Import a PSS/E .dyr file as a dynamics document (`ss.power.dynamics/1`)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
buses
object

Bus number to bus id, before the importer's own rules ({"101": "POC"})

devices
object

"<bus number> <machine id>" to the device id ({"101 1": "PV"})

format
string

dyr (the only one; left out, dyr)

include_document
boolean

Answer the document itself under document (true)

name
string

The document's name and the file's (in the origin record)

network
object

The network document (ss.power.network/1, PW2), inline. Give exactly one of network, network_key, project. Every document is run in its canonical form

network_key
string

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

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

text
string

The .dyr file's contents

variant
string

A variant of project, by slug

Response

The stored document as power_dynamics_validate answers it (key, findings with the import's and the validation's), import_findings, network_key where a network was given, and document

The response is of type object.