Retrieves all Collections.
Optional
– If true, fetches from the admin endpoint
Promise resolving to an array of CollectionResponse objects
ErrorResponse if the request fails
Retrieves all Collections.