Getting assets by slug not working

Just updated the CMS to dev-2316 from dev-21xx. The assets by slug don’t seem to work?

I am trying a url like this https://cms.test.io/api/assets/icon.jpg

Response is:
{“id”:[“The value ‘icon.jpg’ is not valid.”]}

What am I doing wrong here?

I had to Change the API to also include the App name. Please check the API Docs.