Attaching a file using the Gitlab Tags API while creating a release

When creating a new release using the tags API, is there a way to attach binary files to it? I would like to share the artifacts of my build with the release message.

Presently, the link to an uploaded file is created as /uploads/some-id/filename. Is there a way to replicate this using the API? That solution would work for me.