Retrieves a data collection by ID.
Starting on August 3rd, 2026, when called with a visitor (unauthenticated) identity, the response contains only
the collection details needed to display the collection's data: id, displayName, displayField, plugins,
and for each field in fields its key, displayName, type, and typeMetadata. All other collection
details, such as permissions and capabilities, are omitted. Calls made with any other identity return the
full collection.
This method doesn't return any custom errors, but may return standard errors. Learn more about standard Wix errors.