function setDumpThumbnail
setDumpThumbnail(
dumpId: string,
mime: string
): Dump

Records that a dump has a custom thumbnail of type mime, for PUT /api/dumps/:dumpId/thumbnail, once the route has written the file.

Parameters

dumpId: string
mime: string

Return Type

Throws

APIException

404 when there is no such dump.

Usage

import { setDumpThumbnail } from "api/services/dump-service.ts";