app_id cast to string in rest api