Tracking/Registering a download via REST API

I am looking for information on Tracking a download via http REST API.
There are few parameters that I am not particularly clear on and need insights.

action_name : What is the value I set here? Where can I find the list of action names available?
** url** : In my case, is this the actual download URL?

Any help on this is appreciated. Thanks.


See also Tracking HTTP API: API Reference - Matomo Analytics (formerly Piwik Analytics) - Developer Docs - v3

action_name is the title of the page. Here you can enter what you want to see in the titles report. I’m not so sure how important it is for downloads.
url is the URL of the file
And you can also set download to the url to make sure Matomo detects it as a download