Load a stored resource by id, optionally rendering it
resources
Load a stored resource by id, optionally rendering it
Load a stored resource by its id, optionally rendering it as a template.
Args:
resource_id: The id (path) of the resource to load.
template_kwargs: When omitted, the resource’s loaded content is returned
as-is. When provided (any dict, incl. {}), text is rendered as a
Jinja template with these variables; media raises loudly (400).
Returns:
The loaded (and optionally rendered) content — text or a MediaBlock.
A missing resource is a 404; a traversal-escaping id, a render of media, or
broken client-supplied Jinja is a 400. Genuine storage/transport failures
raise other types and propagate as a 500.
GET
Load a stored resource by id, optionally rendering it

