Document `GET /api/collections` endpoint (#1137)
* Document GET /api/collections endpoint
* Update docs/hub/api.md
Co-authored-by: Sylvestre Bouchot <Kakulukian@users.noreply.github.com>
* Apply suggestions from code review
* dot
* feedback
---------
Co-authored-by: Sylvestre Bouchot <Kakulukian@users.noreply.github.com>