function getDump
getDump(
dumpId: string,
requestingUserId?: string
): Dump

Returns dump dumpId as requestingUserId may see it. The routes resolve every :dumpId with it before acting on the dump.

Parameters

dumpId: string
optional
requestingUserId: string

Return Type

Throws

APIException

404 when there is no such dump, or it is private and not theirs.

Usage

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