Builds the router for the shard and terminal routes (see the file overview). Status codes: 200 on
success ({ stored, duplicate } / { accepted, ignored }), 400 bad params or shard format, 401 no
caller, 403 not the owner, 404 no such session, 409 same shard index with different bytes, 413 body
over the cap, 500 unexpected (logged).
Builds the router for the shard and terminal routes (see the file overview). Status codes: 200 on success (
{ stored, duplicate }/{ accepted, ignored }), 400 bad params or shard format, 401 no caller, 403 not the owner, 404 no such session, 409 same shard index with different bytes, 413 body over the cap, 500 unexpected (logged).