commit via api