Skip to content

Function: expandForHumans() ​

ts
function expandForHumans(
   client, 
   parameters, 
   options?
): Promise<{
[key: string]: unknown;
  entries?: Record<string, any>;
  id?: number;
  mediaType?: string;
  name?: string;
  totalEntryCount?: number;
}>;

Defined in: src/server/api/issueAttachments.ts:58

Tries to expand an attachment. Output is human-readable and subject to change.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: string; }-
parameters.idstringThe id of the attachment to expand.
options?RequestOptions-

Returns ​

Promise<{ [key: string]: unknown; entries?: Record<string, any>; id?: number; mediaType?: string; name?: string; totalEntryCount?: number; }>