Add metadata filtering to links on /distributed_to_dos