Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

On This Page

Table of Contents

Overview

This filter allows you to filter content based on its size (in bytes). You can filter all files greater than or less than a specified size. You can also use a combination of both. Note that the size is in bytes.

...

Filter Using REST API

Files can be filtered by their size via the filter_size filter type. The filter accepts three attributes: min, max, and type. The min and max attributes are both optional, but at least one must be defined. Define both attribute values to define a range of file sizes.

Attributes

...

Attribute

...

Description

...

min

...

The minimum file size in bytes. Files with a size less than this value match the filter.

...

max

...

The maximum file size in bytes. Files with a size greater than this value match the filter.

...

type

...

filter_size or size are the only allowable values for this filter type. Both values signify the same filter.

Example

The example below excludes any file over 1024 bytes in size transferred to the destination.

...

...