The Github API [0] is a good place to look- it seems like they thought a lot about their hierarchies.
They do things like
/orgs/ORG/repos /repos/OWNER/REPO/issues
In other words, GH scopes their endpoints usually one maybe two layers. I think conceptually that makes a lot of sense
[0] https://docs.github.com/en/rest/repos/repos#list-organizatio...