pub async fn handle(
state: &AppState,
rc: &RequestContext,
authority: &Authority,
mount_path: &str,
body: Option<&Value>,
) -> Result<Value, ParseError>Expand description
Run a batch.
mount_path is the configured mount, which is what upstream derives by removing the trailing
/batch from req.originalUrl (batch.js:27-28). Taking it from config rather than
reconstructing it is the same rule that applies to every other generated path: the mount is a
builder input, never inferred from the request.