Skip to content

Function: getColumns() ​

ts
function getColumns(
   client, 
   parameters, 
   options?
): Promise<object[]>;

Defined in: src/cloud/api/filters.ts:276

Returns the columns configured for a filter. The column configuration is used when the filter's results are viewed in List View with the Columns set to Filter.

This operation can be accessed anonymously.

Permissions required: None, however, column details are only returned for:

  • Filters owned by the user.
  • Filters shared with a group that the user is a member of.
  • Filters shared with a private project that the user has Browse projects project permission for.
  • Filters shared with a public project.
  • Filters shared with the public.

Parameters ​

ParameterTypeDescription
clientClient-
parameters{ id: number; }-
parameters.idnumberThe ID of the filter.
options?RequestOptions-

Returns ​

Promise<object[]>