function attachmentPath
attachmentPath(id: string): string

Returns the API path of attachment id, to which the API's base is added.

Parameters

id: string

Return Type

string

Usage

import { attachmentPath } from "shared/attachment.ts";