Creating a release through the API ignores filepath/link_type
If you look at: https://docs.gitlab.com/ee/api/releases/index.html#create-a-release
It says that the assets can have a link_type, e.g. other
, package
, etc, and a filepath.
If you look at: https://gitlab.com/gitlab-org/gitlab/-/blob/master/lib/api/releases.rb#L52
It's clearly ignoring the link_type and filepath.
Additionally, the "update release" API endpoint does not allow editing those.
However, if you edit a release through the web page, i.e. https://gitlab.com/namespace/project/-/releases/:release/edit, then you're able to set the link_type (but not the filepath).