api compatible to old link plugin