Create an internal repo in an organization
This appears to be an undocumented API to download a file from GitHub Packages - use this as a reference to form your own url.
In the UI, you can download a file as well but you'll notice that the download string has an expiring key in the url. This works around that with the -L
to follow redirects.
GraphQL also works, but this may be easier.
Download a file from a GitHub release - if it's a public repo, you wouldn't have to use a bearer token to authenticate
Download a file from a non-public repository
Download a workflow artifact (e.g.: downloading the artifact from the build workflow for the deploy workflow to use)
Enables actions on a repository - similar to gh cli example, but using curl