Function: getAvatarImageByType()
ts
function getAvatarImageByType(
client,
parameters,
options?
): Promise<Blob>;Defined in: src/cloud/api/avatars.ts:145
Returns the default project, issue type or priority avatar image.
This operation can be accessed anonymously.
Permissions required: None.
Parameters
| Parameter | Type | Description |
|---|---|---|
client | Client | - |
parameters | { format?: "svg" | string & object | "png"; size?: "small" | "medium" | string & object | "xsmall" | "large" | "xlarge"; type: "priority" | string & object | "project" | "issuetype"; } | - |
parameters.format? | "svg" | string & object | "png" | The format to return the avatar image in. If not provided the original content format is returned. |
parameters.size? | "small" | "medium" | string & object | "xsmall" | "large" | "xlarge" | The size of the avatar image. If not provided the default size is returned. |
parameters.type? | "priority" | string & object | "project" | "issuetype" | The icon type of the avatar. |
options? | RequestOptions | - |
Returns
Promise<Blob>