curl --request POST \
--url https://api.eddy.engineer/v1/power.connection.report \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"result_key": "<string>",
"titles": {}
}
'import requests
url = "https://api.eddy.engineer/v1/power.connection.report"
payload = {
"result_key": "<string>",
"titles": {}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({result_key: '<string>', titles: {}})
};
fetch('https://api.eddy.engineer/v1/power.connection.report', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/power.connection.report",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'result_key' => '<string>',
'titles' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/power.connection.report"
payload := strings.NewReader("{\n \"result_key\": \"<string>\",\n \"titles\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/power.connection.report")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"result_key\": \"<string>\",\n \"titles\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/power.connection.report")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"result_key\": \"<string>\",\n \"titles\": {}\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}A connection study as a submission: the report, the result and the PW studies it stands on as appendices, an index and a manifest, or one zip
UD11’s ss-power-connection over a stored power_connection result: the study is run again from its record (its appendices are not stored) and must give the same key, then laid out as a 16-section report (the plant, the network model and its sources, each study, the compliance table with each limit’s citation, findings, what was not studied, NER chapter 5A process notes, the requirements checklist by clause number) in HTML and PDF, with the short-circuit, coordination and harmonic studies with the plant as appendices (PW14’s reports and sheets), an index and a manifest (ss.power.connection.set/1). Nothing is calculated here; no paid text is reproduced. The manifest is stored with a run record: verify_result makes the set again. Refused: POWER_REQUEST (400), POWER_RESULT_NOT_FOUND (404), POWER_REPORT_INVALID (422: not a connection study’s result, or the study run again gives another key), POWER_REPORT_DIAGRAM (422).
curl --request POST \
--url https://api.eddy.engineer/v1/power.connection.report \
--header 'Content-Type: application/json' \
--header 'x-api-key: <api-key>' \
--data '
{
"result_key": "<string>",
"titles": {}
}
'import requests
url = "https://api.eddy.engineer/v1/power.connection.report"
payload = {
"result_key": "<string>",
"titles": {}
}
headers = {
"x-api-key": "<api-key>",
"Content-Type": "application/json"
}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'x-api-key': '<api-key>', 'Content-Type': 'application/json'},
body: JSON.stringify({result_key: '<string>', titles: {}})
};
fetch('https://api.eddy.engineer/v1/power.connection.report', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://api.eddy.engineer/v1/power.connection.report",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'result_key' => '<string>',
'titles' => [
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json",
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://api.eddy.engineer/v1/power.connection.report"
payload := strings.NewReader("{\n \"result_key\": \"<string>\",\n \"titles\": {}\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("x-api-key", "<api-key>")
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://api.eddy.engineer/v1/power.connection.report")
.header("x-api-key", "<api-key>")
.header("Content-Type", "application/json")
.body("{\n \"result_key\": \"<string>\",\n \"titles\": {}\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.eddy.engineer/v1/power.connection.report")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["x-api-key"] = '<api-key>'
request["Content-Type"] = 'application/json'
request.body = "{\n \"result_key\": \"<string>\",\n \"titles\": {}\n}"
response = http.request(request)
puts response.read_body{}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}{
"error": {
"code": "INVALID_GEOMETRY",
"message": "<string>"
}
}Body
Response
kind (connection_set), schema, result_key (the manifest's key; report_uri its certificate), request_key, study_key, titles, network_key, report (the submission report's hash), appendices, files (name, title, kind, media_type, key, blob_uri, bytes), notes
The response is of type object.