Skip to main content

categories

Search for podcast categories by text or slug.

Only available with certain permissions.

categories(
filters: CategoryFilters
options: SearchOptions
first: Int = 10
page: Int = 0
searchTerm: String
sort: CategorySort
paginationType: PaginationType
cursor: String
): CategoryList

Arguments

filters (CategoryFilters)

Filters that can be applied to a categories query.

options (SearchOptions)

Options that can be passed for enabling features of a categories query

first (Int)

Limits number of fetched elements. Maximum allowed value: 100.

page (Int)

The offset from which elements are returned.

searchTerm (String)

A search term to filter on.

sort (CategorySort)

How to sort the results

paginationType (PaginationType)

Which type of pagination to use

cursor (String)

The cursor from which to retrieve the next page of results

Type

CategoryList

A paginated list of Category items.