getPinnedLists(__fields_expansions_) - daneden/Twift GitHub Wiki
Returns all Lists a specified user has pinned.
public func getPinnedLists(_ userId: User.ID,
fields: Set<List.Field> = [],
expansions: [List.Expansions] = []
)
- userId: The user ID whose pinned 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
A response object containing an array of lists pinned by the user, any requested expansions, and a meta object with pagination information