add expire_seconds option at getLink and getCMR