[obs-commits] [PATCH] [api] ensure correct type on rev parameter