So, here’s a sample of mine which works:
localhost/razuna/global/api2/asset.cfc?method=getrenditions&api_key=MYAPIKEYHERE&assettype=img&assetid=36D898E25ACC4B7D88F4DDCAD07942B2
Now I want renditions of 2 assets - which doesn’t work
localhost/razuna/global/api2/asset.cfc?method=getrenditions&api_key=MYAPIKEYHERE&assettype=img&assetid=36D898E25ACC4B7D88F4DDCAD07942B2, C9D8316E64A247908DD196D10DE61629
or without whitespace doesn’t work either
localhost/razuna/global/api2/asset.cfc?method=getrenditions&api_key=MYAPIKEYHERE&assettype=img&assetid=36D898E25ACC4B7D88F4DDCAD07942B2,C9D8316E64A247908DD196D10DE61629
As I mentioned before, I’m using Razuna self-hosted out-of-the-box. I just installed everything according your installation guide, no special deals. The only change: I’m using MySQL.
I get this error when trying to use more then one asset id:
{“COLUMNS”:[“responsecode”,“message”],“DATA”:[[“1”,“No permissible data
or action found for user! If you believe this is a mistake then please
check with your administrator to ensure that you have appropriate
permissions for access.”]]}
The problem is the folder permission check within the API code. When I bypass that (e.g. permission to “R”), the function is working properly.
I guess that function isn’t working with multiple IDs on a MySQL system (I guess you checked it against an installation with H2 db?)
Our tests are against multiple databases and with different API calls and
folder permissions. Speaking of, maybe your user is not assigned to the
folder or doesn’t have permissions to view the folder?
I can’t do anything without being able to replicate it.