Added getOperatorList to api.js

this block can be removed