Skip to main content
POST
A study set: the reports and sheets of several stored results of one network, with an index (`ss.power.studyset/1`)

Authorizations

x-api-key
string
header
required

Required when the deployment sets SS_REQUIRE_AUTH=1

Body

application/json
result_keys
string[]
required

The keys (b3:<hex>) the power studies answered as result_key, in the order the set is to list them: 1 to 64, all of one network, none twice

format
enum<string>

json (the default) answers the body below; html answers the index page; zip answers the whole set as one stored zip (every file under its name, and manifest.json), with fixed dates so the same set is the same bytes

Available options:
json,
html,
zip
titles
object

What the sheets' title blocks and the reports' heads are printed with. Every member is optional text of at most 120 characters. Nothing is read from a clock: a date is printed only where date gives one

Response

kind (set), schema (ss.power.studyset/1), title, result_key (BLAKE3 of the manifest's canonical bytes), blob_uri, report_uri, request_key, network, studies, titles, files: each file with name, title, kind (report_html, report_pdf, report the document, diagram, tcc, labels, and index in a set), media_type, key and blob_uri (read it with get_blob), bytes, and for a sheet its number sheet, notes, and document: the manifest (studies with each report's hash and file names, files by name and hash, notes)

The response is of type object.