Download folder from raw repository

Hi,
Is this possible now to download a complete folder?
Otherwise, how to use the REST API to get the list of the files?
THanks