user api spec