getList(__fields_expansions_) - daneden/Twift GitHub Wiki
Returns the details of a specified List.
public func getList(_ listId: List.ID,
fields: Set<List.Field> = [],
expansions: [List.Expansions] = []
)
Equivalent to GET /2/lists/:list_id
- listId: The ID of the List to lookup.
- 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 the List and expanded objects