Skip to content

Function: getAttachmentMeta() ​

ts
function getAttachmentMeta(client, options?): Promise<{
[key: string]: unknown;
  enabled?: boolean;
  uploadLimit?: number;
}>;

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

Returns the meta information for an attachments, specifically if they are enabled and the maximum upload size allowed.

Parameters ​

ParameterType
clientClient
options?RequestOptions

Returns ​

Promise<{ [key: string]: unknown; enabled?: boolean; uploadLimit?: number; }>