get_chunk_json

Function get_chunk_json 

Source
pub async fn get_chunk_json(
    __arg0: State<AppState>,
    req: RequestState,
    __arg2: Path<(String, String, String)>,
) -> Response
Expand description

GET /releases/chunks/{prefix}/{hash}.json

Serves chunk data as JSON containing base64-encoded bytes. Chunks are stored compressed but decompressed for the response. This allows adding metadata in the future if needed.