How do I get a list of the projects on a gateway?

I was curious, so I did a quick search and found this:

It looks like this was added in 2020, but looking at the posts on this thread between 2020 and now; most of them have strayed a bit from the original topic, so I guess it makes sense that they don't mention this.