publsh custom ui api