added missing methods in prev commit in assest_api.js

- to resolve the missing methods in commit e1a2f5d27a3f918a8e31a41b7ee44ada34d75334 in asset_api.js