cities
Energie-Anlagen je Stadt (MaStR, Tier A)
Changed onLiefert die Energie-Anlagen (PV/Wind/Speicher/Biogas) einer Stadt aus dem offline aufbereiteten MaStR-SQLite-Store im kanonischen Envelope. Kein Upstream im Request-Pfad, der Abruf liest nur den vorbereiteten Bestand. Deaktiviert -> 200 source_status="disabled". Batch noch nicht gelaufen -> 200 source_status="not_ingested" (nie 5xx).
get/api/v1/cities/{slug}/energy
Request
- Base URLhttps://infranode.dev
- Authnone declared
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
slugstring required
Response
Energie-Envelope. data ist ein CanonicalRecord (EnergyAssetPayload) oder null, je nach source_status.
Example response
{
"data": {
"attribution": {
"text": "Wikidata"
}
}
}Changes
- breaking
added to the
response propertyoneOflist for the response status - info
removed
subschema #1from theresponse propertyoneOflist for the response status
- breaking
- info
removed from the
///response propertyoneOflist for the response status
- info