getAvatarImageByType method

Future<void> getAvatarImageByType({
  1. required String type,
  2. String? size,
  3. String? format,
})

Returns the default project or issue type avatar image.

This operation can be accessed anonymously.

Permissions required: None.

Implementation

Future<void> getAvatarImageByType(
    {required String type, String? size, String? format}) async {
  await _client.send(
    'get',
    'rest/api/3/universal_avatar/view/type/{type}',
    pathParameters: {
      'type': type,
    },
    queryParameters: {
      if (size != null) 'size': size,
      if (format != null) 'format': format,
    },
  );
}