I tried to use api/path script to fetch a resource from my sandbox in web project. Althgough store was correctly understood, it seems that web script automatically prepends 'Company home' to the path in the store. Consequently, this script works correctly only for workspace://SpacesStore.
If this was intended behaviour, is there a script that behaves as I wanted in this case?
The Web Script /alfresco/service/api/path/content/avm/myproject-admin/www/avm_webapps/ROOT/b.xsd has responded with a status of 404 - Not Found.
404 Description: Requested resource is not available.
Message: 08200048 Unable to find ObjectPathReference[storeRef=avm://myproject--admin,path=/Company Home/www/avm_webapps/ROOT/b.xsd]