Skip to content

getFollowedLists(__fields_expansions_paginationToken_maxResults_)

daneden edited this page Apr 27, 2022 · 6 revisions

getFollowedLists(_:fields:expansions:paginationToken:maxResults:)

Returns all Lists a specified user follows.

public func getFollowedLists(_ userId: User.ID,
                               fields: Set<List.Field> = [],
                               expansions: [List.Expansions] = [],
                               paginationToken: String? = nil,
                               maxResults: Int = 100
  )

Parameters

  • userId: The user ID whose followed Lists you would like to retrieve.
  • fields: Any additional fields to include on returned objects
  • expansions: Objects and their corresponding fields that should be expanded in the includes property
  • paginationToken: When iterating over pages of results, you can pass in the nextToken from the previously-returned value to get the next page of results
  • maxResults: The maximum number of results to fetch.

Returns

A response object containing an array of lists followed by the user, any requested expansions, and a meta object with pagination information

Types
Global Variables
Global Functions
Extensions
Clone this wiki locally