Github rest API for downloading gitea release assets missing some assets

I’ve got a small perl script to backup my gitea instance, download the latest release and install it. In the script, I’m trying to get a download link using the github rest API for a “linux-amd64” xz file for the latest release based on the URL

This returns (abbreviated)

url	""
assets_url	""
upload_url	"{?name,label}"
html_url	""
id	48960628

This URL
doesn’t have all the assets that are listed in the URL for users to download files:

None of the linux-amd64 assets are listed there.
I’m looking specifically for gitea-1.15.2-linux-amd64.xz which is here:

That URL is not in the assets link.

This has worked for me in the past. Is this a configuration issue in the gitea repo on github?

Likely it’s not being listed for pagination sake, we have a lot more assets.

I recommend instead referring to gitea | Gitea for download assets, it even has a json api. it’s curl -H "Accept: application/json" (ignore the latest field in the value though).