4 ms·
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/i
by jackconsidine 4y ago
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-organization-repositories https://docs.github.com/en/rest/repos/repos#list-organizatio...
- hello_newman 4y agoIMO a big part of their hierarchies can be attributed to rails default resource routing structure