getSpaces(__fields_expansions_) - daneden/Twift GitHub Wiki
getSpaces(_:fields:expansions:)
Returns details about multiple Spaces. Up to 100 comma-separated Spaces IDs can be looked up using this endpoint.
public func getSpaces(_ ids: [Space.ID],
fields: Set<Space.Field> = [],
expansions: [Space.Expansions] = []
)
Parameters
- ids: A comma separated list of Spaces (up to 100).
- fields: Any additional fields to include on returned objects
- expansions: Objects and their corresponding fields that should be expanded in the
includes
property
Returns
A response object containing the requested Space and any requested expansions