migrate 'get' api to platform