Browse directory in Nexus 3 repo

How can I list the directories in a defined folder structure programmatically in Nexus 3 repo?
can I curl that in some way o use API?

thanks,

fabio