api: get u/p/f and put f